Commit 075905ff authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix some MR commenting tests

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 82edf9ca
...@@ -138,14 +138,14 @@ class ProjectMergeRequests < Spinach::FeatureSteps ...@@ -138,14 +138,14 @@ class ProjectMergeRequests < Spinach::FeatureSteps
step 'I should see a discussion has started on commit b1e6a9dbf1:L185' do 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 "#{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" page.should have_content "Line is wrong"
end end
step 'I should see a discussion has started on commit b1e6a9dbf1' do 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 "#{current_user.name} started a discussion on commit"
page.should have_content "One comment to rule them all" 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 end
step 'merge request is mergeable' do step 'merge request is mergeable' do
......
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