Upgraded rspec-rails from 2.99.0 to 3.4.0

This commit is contained in:
Al Snow
2016-04-14 17:34:27 -04:00
parent 8567df32e1
commit 0cc4980c46
15 changed files with 70 additions and 59 deletions
+5 -3
View File
@@ -15,7 +15,8 @@ feature 'broken_auth' do
within('.actions') do
click_on 'Login'
end
pending(:if => verifying_fixed?) { find('div#flash_notice').text.should == "#{@normal_user.email}not doesn't exist!" }
pending if verifying_fixed?
expect(find('div#flash_notice').text).to eq("#{@normal_user.email}not doesn't exist!")
end
scenario 'two' do
@@ -27,6 +28,7 @@ feature 'broken_auth' do
within('.actions') do
click_on 'Login'
end
pending(:if => verifying_fixed?) { find('div#flash_notice').text.should == 'Incorrect Password!' }
pending if verifying_fixed?
expect(find('div#flash_notice').text).to eq('Incorrect Password!')
end
end
end