Fixes test to not search whole page for content.

This commit is contained in:
Jacob Schatz 2016-01-20 01:52:01 -05:00
parent 70e59035c0
commit 106939fa2a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
end
step 'I should not see "master" branch' do
expect(page).not_to have_content "master"
expect(find('.merge-request-info')).not_to have_content "master"
end
step 'I should see "other_branch" branch' do