diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-26 22:39:48 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-26 22:39:48 -0800 |
commit | 65e88f1e1aa247c9a89af82717aae791786ad276 (patch) | |
tree | 8fd7172af66c44a1c5170c6c888ea2c5f098d33b /features | |
parent | 8ecf7d3207ca52d694f6d8ebd9bed96041c49a8c (diff) | |
download | gitlab-ce-65e88f1e1aa247c9a89af82717aae791786ad276.tar.gz |
Fixed few tests and improved css style
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/source/browse_files.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb index 1caad73654b..bd1ca55a20a 100644 --- a/features/steps/project/source/browse_files.rb +++ b/features/steps/project/source/browse_files.rb @@ -58,7 +58,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps step 'I can edit code' do set_new_content - evaluate_script('editor.getValue()').should == new_gitignore_content + evaluate_script('blob.editor.getValue()').should == new_gitignore_content end step 'I edit code' do @@ -103,7 +103,6 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps step 'I can see new file page' do page.should have_content "New file" - page.should have_content "File name" page.should have_content "Commit message" end @@ -170,7 +169,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps private def set_new_content - execute_script("editor.setValue('#{new_gitignore_content}')") + execute_script("blob.editor.setValue('#{new_gitignore_content}')") end # Content of the gitignore file on the seed repository. |