diff options
Diffstat (limited to 'spec/features/merge_request/user_expands_diff_spec.rb')
-rw-r--r-- | spec/features/merge_request/user_expands_diff_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/merge_request/user_expands_diff_spec.rb b/spec/features/merge_request/user_expands_diff_spec.rb index 3560b8d90bb..9d1188d2324 100644 --- a/spec/features/merge_request/user_expands_diff_spec.rb +++ b/spec/features/merge_request/user_expands_diff_spec.rb @@ -15,11 +15,11 @@ describe 'User expands diff', :js do it 'allows user to expand diff' do page.within find('[id="2f6fcd96b88b36ce98c38da085c795a27d92a3dd"]') do - click_link 'Click to expand it.' + click_link _('Click to expand it.') wait_for_requests - expect(page).not_to have_content('Click to expand it.') + expect(page).not_to have_content(_('Click to expand it.')) expect(page).to have_selector('.code') end end |