Minor improve to UI and code formatting of gitlab web editor

This commit is contained in:
randx 2012-10-15 19:51:11 +03:00
parent 47d9732a07
commit 809aefb828
8 changed files with 37 additions and 19 deletions

View file

@ -23,5 +23,5 @@ Feature: Project Browse files
@javascript
Scenario: I can edit file
Given I click on "Gemfile" file in repo
And I click button "Edit"
And I click button "edit"
Then I can edit code

View file

@ -32,8 +32,8 @@ class ProjectBrowseFiles < Spinach::FeatureSteps
page.source.should == ValidCommit::BLOB_FILE
end
Given 'I click button "Edit"' do
click_link 'Edit'
Given 'I click button "edit"' do
click_link 'edit'
end
Then 'I can edit code' do