summaryrefslogtreecommitdiff
path: root/features/steps/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/user.rb')
-rw-r--r--features/steps/user.rb2
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