summaryrefslogtreecommitdiff
path: root/features/steps/shared/paths.rb
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-21 23:40:22 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-22 10:01:50 +0200
commitef6e94e37e0fce23acf32992476aeb63405be0c1 (patch)
tree3cfce6b15bab68f2213850672872de2ce420bae3 /features/steps/shared/paths.rb
parentfda61a047ffb9b04bc4dd38e897088fde17fb3c1 (diff)
downloadgitlab-ce-ef6e94e37e0fce23acf32992476aeb63405be0c1.tar.gz
Replace old spinach step definitions with step.
Diffstat (limited to 'features/steps/shared/paths.rb')
-rw-r--r--features/steps/shared/paths.rb8
1 files changed, 4 insertions, 4 deletions
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