summaryrefslogtreecommitdiff
path: root/features/steps/snippets
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-10-07 10:05:59 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-10-07 10:05:59 +0000
commitc0306f78d2686202aa56cf862a7c787d07c85d1a (patch)
tree3181e97345b8947361b280002dc22820e883c908 /features/steps/snippets
parentbbc52b000008c9020d2a38dafc09ff3341a69cae (diff)
parentfd8d1d9b62066766c96610b7d42b20fa0e84b0ac (diff)
downloadgitlab-ce-c0306f78d2686202aa56cf862a7c787d07c85d1a.tar.gz
Merge branch 't1254-snippets-refactoring' into 'master'
Snippets refactoring: rename public to internal. STEP 1 See merge request !1157
Diffstat (limited to 'features/steps/snippets')
-rw-r--r--features/steps/snippets/snippets.rb2
-rw-r--r--features/steps/snippets/user.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/snippets/snippets.rb b/features/steps/snippets/snippets.rb
index dedbdd2c4f0..de936db85ee 100644
--- a/features/steps/snippets/snippets.rb
+++ b/features/steps/snippets/snippets.rb
@@ -46,7 +46,7 @@ class Spinach::Features::Snippets < Spinach::FeatureSteps
end
step 'I uncheck "Private" checkbox' do
- choose "Public"
+ choose "Internal"
click_button "Save"
end
diff --git a/features/steps/snippets/user.rb b/features/steps/snippets/user.rb
index ca9aa64bee6..c41bc436142 100644
--- a/features/steps/snippets/user.rb
+++ b/features/steps/snippets/user.rb
@@ -23,9 +23,9 @@ class Spinach::Features::SnippetsUser < Spinach::FeatureSteps
page.should_not have_content "Personal snippet private"
end
- step 'I click "Public" filter' do
+ step 'I click "Internal" filter' do
within('.nav-stacked') do
- click_link "Public"
+ click_link "Internal"
end
end