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: 7a14c8b7ce759d512371980b7e7b6ab79f71ff62
4
- data.tar.gz: 54b5eeaab6c177916c16c9a66f9f0dd0cee73d1a
3
+ metadata.gz: 1e477491457cecddeb2d61f315251dd763251e76
4
+ data.tar.gz: 18cfec9838b68a9f44d5ef5591b7ac0179541173
5
5
  SHA512:
6
- metadata.gz: 6a5cb81309cfbd3d38fcf519cd3ad37152150ad205992571384f27d382b9a9c62116acd5dc4e3dbd5acbca141cbb46e3d7c3335d35fcd72c7dd1b417ee7b3835
7
- data.tar.gz: 950a42b2ffdb1c19a2a06908fd664575569e686aed67f99dfea50f08c0b09cb1d92ca88ca491da7ad4f86098f4f5e7e247583dc6971637029d05e874a8a923bf
6
+ metadata.gz: 254e8dce0945175ac49f6f081d9c41933ca46db6c8b7b4557c9a0d1158b0f6cf8ba9f21db15ee9c8c03abbe42969c290507d1a71be60320ba18780a3cf09428f
7
+ data.tar.gz: 39fdd6fa1f5069130bd8b689fd02535b7a157a2bbda0ac409a88cc2384ec3e2a264fac3a16466597f6dcb3556a93c9b6d2770c0131e3a50b592fccc857454782
data/CHANGELOG.textile CHANGED
@@ -1,5 +1,9 @@
1
1
  h1. CHANGELOG
2
2
 
3
+ h3. 0.3.12 October 5, 2014
4
+
5
+ * update for Devise 3.4 changed error messages
6
+
3
7
  h3. 0.3.11 September 12, 2014
4
8
 
5
9
  * accommodate RSpec 3.1 change to rails_helper.rb file (https://github.com/rspec/rspec-rails/issues/1106)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RailsAppsTesting
2
- VERSION = "0.3.11"
2
+ VERSION = "0.3.12"
3
3
  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.11
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-09-12 00:00:00.000000000 Z
11
+ date: 2014-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler