Commit 47d9732a07ef0aa626efdf745d456bff90fe30f8
1 parent
2a78ae60
Exists in
master
and in
4 other branches
WebEditor: minor spinach fixes
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
features/project/source/browse_files.feature
@@ -24,4 +24,4 @@ Feature: Project Browse files | @@ -24,4 +24,4 @@ Feature: Project Browse files | ||
24 | Scenario: I can edit file | 24 | Scenario: I can edit file |
25 | Given I click on "Gemfile" file in repo | 25 | Given I click on "Gemfile" file in repo |
26 | And I click button "Edit" | 26 | And I click button "Edit" |
27 | - Then I can edit file | 27 | + Then I can edit code |
features/steps/project/project_browse_files.rb
@@ -36,7 +36,7 @@ class ProjectBrowseFiles < Spinach::FeatureSteps | @@ -36,7 +36,7 @@ class ProjectBrowseFiles < Spinach::FeatureSteps | ||
36 | click_link 'Edit' | 36 | click_link 'Edit' |
37 | end | 37 | end |
38 | 38 | ||
39 | - Given 'I can edit file' do | 39 | + Then 'I can edit code' do |
40 | page.execute_script('editor.setValue("GitlabFileEditor")') | 40 | page.execute_script('editor.setValue("GitlabFileEditor")') |
41 | page.evaluate_script('editor.getValue()').should == "GitlabFileEditor" | 41 | page.evaluate_script('editor.getValue()').should == "GitlabFileEditor" |
42 | end | 42 | end |