Commit 82eb948b authored by Douwe Maan's avatar Douwe Maan

Fix test

parent f2f4f3ed
...@@ -985,4 +985,4 @@ DEPENDENCIES ...@@ -985,4 +985,4 @@ DEPENDENCIES
wikicloth (= 0.8.1) wikicloth (= 0.8.1)
BUNDLED WITH BUNDLED WITH
1.10.6 1.11.2
...@@ -94,7 +94,7 @@ class GitPushService ...@@ -94,7 +94,7 @@ class GitPushService
Issues::CloseService.new(project, authors[commit], {}).execute(issue, commit) Issues::CloseService.new(project, authors[commit], {}).execute(issue, commit)
end end
end end
commit.create_cross_references!(authors[commit], closed_issues) commit.create_cross_references!(authors[commit], closed_issues)
end end
end end
......
...@@ -22,7 +22,6 @@ Feature: Project Ff Merge Requests ...@@ -22,7 +22,6 @@ Feature: Project Ff Merge Requests
Then I should see rebase button Then I should see rebase button
When I press rebase button When I press rebase button
Then I should see rebase in progress message Then I should see rebase in progress message
And I should see ff-only merge button
@javascript @javascript
Scenario: I do rebase before regular merge Scenario: I do rebase before regular merge
...@@ -31,4 +30,3 @@ Feature: Project Ff Merge Requests ...@@ -31,4 +30,3 @@ Feature: Project Ff Merge Requests
Then I should see rebase button Then I should see rebase button
When I press rebase button When I press rebase button
Then I should see rebase in progress message Then I should see rebase in progress message
And I should see regular merge button
...@@ -25,11 +25,6 @@ class Spinach::Features::ProjectFfMergeRequests < Spinach::FeatureSteps ...@@ -25,11 +25,6 @@ class Spinach::Features::ProjectFfMergeRequests < Spinach::FeatureSteps
expect(page).to have_button 'Accept Merge Request' expect(page).to have_button 'Accept Merge Request'
end end
step 'I should see regular merge button' do
expect(page).to have_content "Modify commit message"
expect(page).to have_button 'Accept Merge Request'
end
step 'merge request "Bug NS-05" is mergeable' do step 'merge request "Bug NS-05" is mergeable' do
merge_request.mark_as_mergeable merge_request.mark_as_mergeable
end end
...@@ -41,7 +36,7 @@ class Spinach::Features::ProjectFfMergeRequests < Spinach::FeatureSteps ...@@ -41,7 +36,7 @@ class Spinach::Features::ProjectFfMergeRequests < Spinach::FeatureSteps
end end
step 'I should see merged request' do step 'I should see merged request' do
page.within '.issue-box' do page.within '.status-box' do
expect(page).to have_content "Merged" expect(page).to have_content "Merged"
end end
end end
...@@ -70,7 +65,6 @@ class Spinach::Features::ProjectFfMergeRequests < Spinach::FeatureSteps ...@@ -70,7 +65,6 @@ class Spinach::Features::ProjectFfMergeRequests < Spinach::FeatureSteps
end end
step 'I press rebase button' do step 'I press rebase button' do
allow(RebaseWorker).to receive(:perform_async){ true }
click_button "Rebase" click_button "Rebase"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment