From ef6e94e37e0fce23acf32992476aeb63405be0c1 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Sun, 21 Sep 2014 23:40:22 +0200 Subject: Replace old spinach step definitions with step. --- features/steps/shared/paths.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'features/steps/shared/paths.rb') diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb index 276947dc060..ed0c623d1dc 100644 --- a/features/steps/shared/paths.rb +++ b/features/steps/shared/paths.rb @@ -394,15 +394,15 @@ module SharedPaths # Snippets # ---------------------------------------- - Given 'I visit project "Shop" snippets page' do + step 'I visit project "Shop" snippets page' do visit project_snippets_path(project) end - Given 'I visit snippets page' do + step 'I visit snippets page' do visit snippets_path end - Given 'I visit new snippet page' do + step 'I visit new snippet page' do visit new_snippet_path end @@ -418,7 +418,7 @@ module SharedPaths # Errors # ---------------------------------------- - Then 'page status code should be 404' do + step 'page status code should be 404' do page.status_code.should == 404 end end -- cgit v1.2.1