summaryrefslogtreecommitdiff
path: root/features/steps/shared/paths.rb
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-25 16:43:23 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-13 20:55:09 +0200
commit2d235221079ef6af90bf482a8f563dd409290751 (patch)
tree3bcd965c6f4e88302fea566fd42e50459898a6b0 /features/steps/shared/paths.rb
parente261de255dfff71f5acc7d33f339a30a3cb32ab9 (diff)
downloadgitlab-ce-2d235221079ef6af90bf482a8f563dd409290751.tar.gz
Use :message key, not :error for File::Service.
Diffstat (limited to 'features/steps/shared/paths.rb')
-rw-r--r--features/steps/shared/paths.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index 1f238f8befd..5f292255ce1 100644
--- a/features/steps/shared/paths.rb
+++ b/features/steps/shared/paths.rb
@@ -265,6 +265,15 @@ module SharedPaths
visit project_blob_path(@project, File.join(root_ref, '.gitignore'))
end
+ step 'I am on the new file page' do
+ current_path.should eq(project_new_tree_path(@project, root_ref))
+ end
+
+ step 'I am on the ".gitignore" edit file page' do
+ current_path.should eq(project_edit_tree_path(
+ @project, File.join(root_ref, '.gitignore')))
+ end
+
step 'I visit project source page for "6d39438"' do
visit project_tree_path(@project, "6d39438")
end