mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-22 19:16:39 +10:00
Fix specs
This commit is contained in:
@@ -46,7 +46,7 @@ class Spinach::Features::ProjectForkedMergeRequests < Spinach::FeatureSteps
|
||||
end
|
||||
|
||||
step 'I submit the merge request' do
|
||||
click_button "Submit new merge request"
|
||||
click_button "Submit merge request"
|
||||
end
|
||||
|
||||
step 'I follow the target commit link' do
|
||||
|
||||
@@ -31,19 +31,19 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
|
||||
|
||||
step 'I submit new label \'support\'' do
|
||||
fill_in 'Title', with: 'support'
|
||||
fill_in 'Background Color', with: '#F95610'
|
||||
fill_in 'Background color', with: '#F95610'
|
||||
click_button 'Save'
|
||||
end
|
||||
|
||||
step 'I submit new label \'bug\'' do
|
||||
fill_in 'Title', with: 'bug'
|
||||
fill_in 'Background Color', with: '#F95610'
|
||||
fill_in 'Background color', with: '#F95610'
|
||||
click_button 'Save'
|
||||
end
|
||||
|
||||
step 'I submit new label with invalid color' do
|
||||
fill_in 'Title', with: 'support'
|
||||
fill_in 'Background Color', with: '#12'
|
||||
fill_in 'Background color', with: '#12'
|
||||
click_button 'Save'
|
||||
end
|
||||
|
||||
@@ -85,7 +85,7 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
|
||||
|
||||
step 'I change label \'bug\' to \'fix\'' do
|
||||
fill_in 'Title', with: 'fix'
|
||||
fill_in 'Background Color', with: '#F15610'
|
||||
fill_in 'Background color', with: '#F15610'
|
||||
click_button 'Save'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user