Update wording
This commit is contained in:
parent
89df29e09f
commit
0392dffdb6
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ $ git checkout origin/merge-requests/1
|
|||
|
||||
![MR diff](merge_requests/merge_request_diff.png)
|
||||
|
||||
If you click to "Hide whitespace changes" button, you can see diff without whitespace changes.
|
||||
If you click the "Hide whitespace changes" button, you can see the diff without whitespace changes.
|
||||
|
||||
![MR diff without whitespace](merge_requests/merge_request_diff_without_whitespace.png)
|
||||
|
||||
|
|
|
@ -9,12 +9,12 @@ feature 'Toggle Whitespace Changes', js: true, feature: true do
|
|||
visit diffs_namespace_project_merge_request_path(project.namespace, project, merge_request)
|
||||
end
|
||||
|
||||
it 'should have a button to toggle whitespace changes' do
|
||||
it 'has a button to toggle whitespace changes' do
|
||||
expect(page).to have_content "Hide whitespace changes"
|
||||
end
|
||||
|
||||
describe 'clicking "Hide whitespace changes" button' do
|
||||
it 'should hide whitespace changes' do
|
||||
it 'toggles the "Hide whitespace changes" button' do
|
||||
click_link "Hide whitespace changes"
|
||||
expect(page).to have_content "Show whitespace changes"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue