rails_apps_testing 0.3.11 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e477491457cecddeb2d61f315251dd763251e76
|
4
|
+
data.tar.gz: 18cfec9838b68a9f44d5ef5591b7ac0179541173
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 254e8dce0945175ac49f6f081d9c41933ca46db6c8b7b4557c9a0d1158b0f6cf8ba9f21db15ee9c8c03abbe42969c290507d1a71be60320ba18780a3cf09428f
|
7
|
+
data.tar.gz: 39fdd6fa1f5069130bd8b689fd02535b7a157a2bbda0ac409a88cc2384ec3e2a264fac3a16466597f6dcb3556a93c9b6d2770c0131e3a50b592fccc857454782
|
data/CHANGELOG.textile
CHANGED
@@ -10,7 +10,7 @@ feature 'Sign in', :devise do
|
|
10
10
|
# Then I see an invalid credentials message
|
11
11
|
scenario 'user cannot sign in if not registered' do
|
12
12
|
signin('test@example.com', 'please123')
|
13
|
-
expect(page).to have_content I18n.t 'devise.failure.not_found_in_database'
|
13
|
+
expect(page).to have_content I18n.t 'devise.failure.not_found_in_database', authentication_keys: 'email'
|
14
14
|
end
|
15
15
|
|
16
16
|
# Scenario: User can sign in with valid credentials
|
@@ -32,7 +32,7 @@ feature 'Sign in', :devise do
|
|
32
32
|
scenario 'user cannot sign in with wrong email' do
|
33
33
|
user = FactoryGirl.create(:user)
|
34
34
|
signin('invalid@email.com', user.password)
|
35
|
-
expect(page).to have_content I18n.t 'devise.failure.not_found_in_database'
|
35
|
+
expect(page).to have_content I18n.t 'devise.failure.not_found_in_database', authentication_keys: 'email'
|
36
36
|
end
|
37
37
|
|
38
38
|
# Scenario: User cannot sign in with wrong password
|
@@ -43,7 +43,7 @@ feature 'Sign in', :devise do
|
|
43
43
|
scenario 'user cannot sign in with wrong password' do
|
44
44
|
user = FactoryGirl.create(:user)
|
45
45
|
signin(user.email, 'invalidpass')
|
46
|
-
expect(page).to have_content I18n.t 'devise.failure.invalid'
|
46
|
+
expect(page).to have_content I18n.t 'devise.failure.invalid', authentication_keys: 'email'
|
47
47
|
end
|
48
48
|
|
49
49
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_apps_testing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|