diff options
author | Valeriy Sizov <vsv2711@gmail.com> | 2012-10-12 20:27:50 +0300 |
---|---|---|
committer | Valeriy Sizov <vsv2711@gmail.com> | 2012-10-12 20:28:06 +0300 |
commit | 47d9732a07ef0aa626efdf745d456bff90fe30f8 (patch) | |
tree | 11e84289d79fd727bbb15455f32e8ed984764d6f /features | |
parent | 2a78ae60eb128cc0590151721d6ee33e06942bf2 (diff) | |
download | gitlab-ce-47d9732a07ef0aa626efdf745d456bff90fe30f8.tar.gz |
WebEditor: minor spinach fixes
Diffstat (limited to 'features')
-rw-r--r-- | features/project/source/browse_files.feature | 2 | ||||
-rw-r--r-- | features/steps/project/project_browse_files.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/features/project/source/browse_files.feature b/features/project/source/browse_files.feature index 9a635fa6bbd..9b650d64041 100644 --- a/features/project/source/browse_files.feature +++ b/features/project/source/browse_files.feature @@ -24,4 +24,4 @@ Feature: Project Browse files Scenario: I can edit file Given I click on "Gemfile" file in repo And I click button "Edit" - Then I can edit file + Then I can edit code diff --git a/features/steps/project/project_browse_files.rb b/features/steps/project/project_browse_files.rb index 17b81a6f7e3..b0a0995730c 100644 --- a/features/steps/project/project_browse_files.rb +++ b/features/steps/project/project_browse_files.rb @@ -36,7 +36,7 @@ class ProjectBrowseFiles < Spinach::FeatureSteps click_link 'Edit' end - Given 'I can edit file' do + Then 'I can edit code' do page.execute_script('editor.setValue("GitlabFileEditor")') page.evaluate_script('editor.getValue()').should == "GitlabFileEditor" end |