Fix tests

This commit is contained in:
Dmitriy Zaporozhets 2015-01-16 08:47:58 -08:00
parent 67b42e26cf
commit 9c0d241e27
1 changed files with 2 additions and 2 deletions

View File

@ -194,13 +194,13 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
step 'I click link "Hide inline discussion" of the second file' do
within '.files [id^=diff]:nth-child(2)' do
click_link "Diff comments"
click_link 'Show/Hide comments'
end
end
step 'I click link "Show inline discussion" of the second file' do
within '.files [id^=diff]:nth-child(2)' do
click_link "Diff comments"
click_link 'Show/Hide comments'
end
end