summaryrefslogtreecommitdiff
path: root/features/steps/snippets/snippets.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/snippets/snippets.rb')
-rw-r--r--features/steps/snippets/snippets.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/snippets/snippets.rb b/features/steps/snippets/snippets.rb
index 87a499821dd..f20832cb1f1 100644
--- a/features/steps/snippets/snippets.rb
+++ b/features/steps/snippets/snippets.rb
@@ -51,7 +51,7 @@ class Snippets < Spinach::FeatureSteps
end
Then 'I should see "Personal snippet one" public' do
- page.should have_selector(:xpath, "//i[@class='public-snippet']")
+ page.should have_no_xpath("//i[@class='public-snippet']")
end
And 'I visit snippet page "Personal snippet one"' do