start 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ccc35ed02e9f98abe52f75b48b838838a5b64c5e
4
- data.tar.gz: 7ffe4112b2be8e260b37130c2ff15f0fadb5008f
3
+ metadata.gz: 1b41135c997297af9a0a57654692a2ace042f79b
4
+ data.tar.gz: dbc20f7b837455a0608641aef3502da4195e1514
5
5
  SHA512:
6
- metadata.gz: 8ebbf00c6d60cbf85d5ea51fb8d2095a649cf3535876d029716f965223c8fee56840f049da9826f0dafb81a45215597eab504bfa371a85905521901466d464e7
7
- data.tar.gz: 848a3cbd453c9564bf824717118899f7cc1e4c240d05eb7e38a5a46ef937636289b39ce7ec242916d3aa99a2fc421d5ff8dc76611e35191319881656cf66624c
6
+ metadata.gz: 8462d67d1f460965fa8a1270a2bf95b9dbe95464f3c13b925a027bd742486d5c0323004729f90aade3e40dddd3726b8a4b6e5a3dc790adb8d4e8b4166a440a12
7
+ data.tar.gz: a30cadc7ec83a61cd67e4099dc42244c53f540aa0648f238512cbf82a24906ae1ed7ff59e7abaec3dcbf3b09287d7ac77082d6a49a6d65ca8bbb3a3f9429ec55
@@ -3,7 +3,7 @@ module Requests
3
3
  def sign_in_user
4
4
  @request.env["devise.mapping"] = Devise.mappings[:user]
5
5
  @current_user = User.last
6
- @current_user ||= FactoryGirl.create(:user)
6
+ @current_user ||= User.create!(email: 'john@example.com', password: 'passoword')
7
7
  sign_in @current_user
8
8
  @current_user
9
9
  end
@@ -11,17 +11,5 @@ module Requests
11
11
  def current_user
12
12
  @current_user
13
13
  end
14
-
15
- def sign_in_admin
16
- @request.env["devise.mapping"] = Devise.mappings[:admin]
17
- @current_admin = Admin.last
18
- @current_admin ||= FactoryGirl.create(:admin)
19
- sign_in @current_admin
20
- @current_admin
21
- end
22
-
23
- def current_admin
24
- @current_admin
25
- end
26
14
  end
27
15
  end
@@ -1,3 +1,3 @@
1
1
  module Start
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: start
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julio Protzek