diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-24 10:28:41 +0400 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-09-26 11:51:17 +0400 |
commit | 89f7345f3ffdc212e60d4d657d878d1e5d6d6f9a (patch) | |
tree | 50929c127d5b45237cfbe9dd1dd26a406a7e7ed5 /features/steps/user.rb | |
parent | 1302dc8f0420dacec65ef1dcc955763c6c263cec (diff) |
Remove unnecessary page. from tests.
Diffstat (limited to 'features/steps/user.rb')
-rw-r--r-- | features/steps/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/user.rb b/features/steps/user.rb index 5fb248ffcbc..d6f05ecb2c7 100644 --- a/features/steps/user.rb +++ b/features/steps/user.rb @@ -5,6 +5,6 @@ class Spinach::Features::User < Spinach::FeatureSteps include SharedProject step 'I should see user "John Doe" page' do - expect(page.title).to match(/^\s*John Doe/) + expect(title).to match(/^\s*John Doe/) end end |