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.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/user.rb b/features/steps/user.rb
index 10cae692a88..3230234cb6d 100644
--- a/features/steps/user.rb
+++ b/features/steps/user.rb
@@ -28,13 +28,13 @@ class Spinach::Features::User < Spinach::FeatureSteps
end
step 'I should see contributed projects' do
- within '.contributed-projects' do
- page.should have_content(@contributed_project.name)
+ page.within '.contributed-projects' do
+ expect(page).to have_content(@contributed_project.name)
end
end
step 'I should see contributions calendar' do
- page.should have_css('.cal-heatmap-container')
+ expect(page).to have_css('.cal-heatmap-container')
end
def contributed_project