rails_apps_testing 0.3.6 → 0.3.7

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: c113c87ae852edb6954f98ab8dad2fbe734ac777
4
- data.tar.gz: 5b9ce59da5f6841438b0c122f3afac632667517a
3
+ metadata.gz: d704568fae872c42ad4a096d343d01b15ae6ce2b
4
+ data.tar.gz: f656eeddadb2445e0ceeb057e00317df7dfaffc7
5
5
  SHA512:
6
- metadata.gz: 785d40cf8cd65d6f28f90d9c3aa19c15945ede8f7585a160fd295a4473a82355ef5ba3d74af3a0efd4126a10c0f421ec918fb66ab0a5a5b580a1ed1b0c6f64ba
7
- data.tar.gz: 2c73d0779c10415d81e2b4c4bde56ada26e3fcf28f5ba93aeb4594f50e152dd607ad299b0b12c02a6495b9aadea5aeb0865f0229c5c18f4dfe2de0a4ca2b4f8d
6
+ metadata.gz: abdf58f76ccbcc68537e7e12ffb8d89854eed3a9263d2240593a6789b3c8b531852be7c41f2847e6c775d520d43fef05a00d31a8efcb1d1184f37339219677ee
7
+ data.tar.gz: 71028c3eb80ea43cc1e548e14b75ea49587fb348e3f413f0eb7d249668d138a832f679bf76c8cbdb3b71421117a834aab28304fa311620c35a3fbee4ffb1ac94
data/CHANGELOG.textile CHANGED
@@ -1,5 +1,9 @@
1
1
  h1. CHANGELOG
2
2
 
3
+ h3. 0.3.7 August 14, 2014
4
+
5
+ * update for Devise 3.3 changed error messages
6
+
3
7
  h3. 0.3.6 July 7, 2014
4
8
 
5
9
  * accommodate undefined file load order on Linux for Devise session helpers
@@ -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 'Invalid email or password.'
13
+ expect(page).to have_content 'Invalid email address or password'
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 'Invalid email or password.'
35
+ expect(page).to have_content 'Invalid email address or password'
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 'Invalid email or password.'
46
+ expect(page).to have_content 'Invalid email or password'
47
47
  end
48
48
 
49
49
  end
@@ -22,7 +22,7 @@ feature 'User edit', :devise do
22
22
  fill_in 'Email', :with => 'newemail@example.com'
23
23
  fill_in 'Current password', :with => user.password
24
24
  click_button 'Update'
25
- expect(page).to have_content 'You updated your account successfully.'
25
+ expect(page).to have_content 'Your account has been updated successfully.'
26
26
  end
27
27
 
28
28
  # Scenario: User cannot edit another user's profile
@@ -1,3 +1,3 @@
1
1
  module RailsAppsTesting
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.7"
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.6
4
+ version: 0.3.7
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-07-08 00:00:00.000000000 Z
11
+ date: 2014-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler