Fix some MR commenting tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-06-24 22:48:21 +03:00
parent 82edf9ca5a
commit 075905ffe8
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -138,14 +138,14 @@ class ProjectMergeRequests < Spinach::FeatureSteps
step 'I should see a discussion has started on commit b1e6a9dbf1:L185' do
page.should have_content "#{current_user.name} started a discussion on commit"
page.should have_content "app/assets/stylesheets/tree.scss:L185"
page.should have_content "app/assets/stylesheets/tree.scss"
page.should have_content "Line is wrong"
end
step 'I should see a discussion has started on commit b1e6a9dbf1' do
page.should have_content "#{current_user.name} started a discussion on commit"
page.should have_content "One comment to rule them all"
page.should have_content "app/assets/stylesheets/tree.scss:L185"
page.should have_content "app/assets/stylesheets/tree.scss"
end
step 'merge request is mergeable' do