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

Fix test

parent f2f4f3ed
......@@ -985,4 +985,4 @@ DEPENDENCIES
wikicloth (= 0.8.1)
BUNDLED WITH
1.10.6
1.11.2
......@@ -22,7 +22,6 @@ Feature: Project Ff Merge Requests
Then I should see rebase button
When I press rebase button
Then I should see rebase in progress message
And I should see ff-only merge button
@javascript
Scenario: I do rebase before regular merge
......@@ -31,4 +30,3 @@ Feature: Project Ff Merge Requests
Then I should see rebase button
When I press rebase button
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
expect(page).to have_button 'Accept Merge Request'
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
merge_request.mark_as_mergeable
end
......@@ -41,7 +36,7 @@ class Spinach::Features::ProjectFfMergeRequests < Spinach::FeatureSteps
end
step 'I should see merged request' do
page.within '.issue-box' do
page.within '.status-box' do
expect(page).to have_content "Merged"
end
end
......@@ -70,7 +65,6 @@ class Spinach::Features::ProjectFfMergeRequests < Spinach::FeatureSteps
end
step 'I press rebase button' do
allow(RebaseWorker).to receive(:perform_async){ true }
click_button "Rebase"
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