From 611ac727450b4fb9214e428cd91f7913d48ed7d8 Mon Sep 17 00:00:00 2001 From: Andrew8xx8 Date: Mon, 25 Mar 2013 02:46:56 +0400 Subject: Tests for private snippet fixed --- features/steps/snippets/snippets.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/steps/snippets/snippets.rb') 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 -- cgit v1.2.1