Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
766b0e7d
Commit
766b0e7d
authored
Apr 20, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename spec instances of btn-default to btn-secondary
parent
aae1b23b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
spec/features/merge_request/user_sees_versions_spec.rb
spec/features/merge_request/user_sees_versions_spec.rb
+6
-6
No files found.
spec/features/merge_request/user_sees_versions_spec.rb
View file @
766b0e7d
...
@@ -54,7 +54,7 @@ describe 'Merge request > User sees versions', :js do
...
@@ -54,7 +54,7 @@ describe 'Merge request > User sees versions', :js do
describe
'switch between versions'
do
describe
'switch between versions'
do
before
do
before
do
page
.
within
'.mr-version-dropdown'
do
page
.
within
'.mr-version-dropdown'
do
find
(
'.btn-
default
'
).
click
find
(
'.btn-
secondary
'
).
click
click_link
'version 1'
click_link
'version 1'
end
end
...
@@ -93,7 +93,7 @@ describe 'Merge request > User sees versions', :js do
...
@@ -93,7 +93,7 @@ describe 'Merge request > User sees versions', :js do
describe
'compare with older version'
do
describe
'compare with older version'
do
before
do
before
do
page
.
within
'.mr-version-compare-dropdown'
do
page
.
within
'.mr-version-compare-dropdown'
do
find
(
'.btn-
default
'
).
click
find
(
'.btn-
secondary
'
).
click
click_link
'version 1'
click_link
'version 1'
end
end
...
@@ -151,7 +151,7 @@ describe 'Merge request > User sees versions', :js do
...
@@ -151,7 +151,7 @@ describe 'Merge request > User sees versions', :js do
describe
'compare with same version'
do
describe
'compare with same version'
do
before
do
before
do
page
.
within
'.mr-version-compare-dropdown'
do
page
.
within
'.mr-version-compare-dropdown'
do
find
(
'.btn-
default
'
).
click
find
(
'.btn-
secondary
'
).
click
click_link
'version 1'
click_link
'version 1'
end
end
end
end
...
@@ -162,7 +162,7 @@ describe 'Merge request > User sees versions', :js do
...
@@ -162,7 +162,7 @@ describe 'Merge request > User sees versions', :js do
end
end
page
.
within
'.mr-version-dropdown'
do
page
.
within
'.mr-version-dropdown'
do
find
(
'.btn-
default
'
).
click
find
(
'.btn-
secondary
'
).
click
click_link
'version 1'
click_link
'version 1'
end
end
expect
(
page
).
to
have_content
'0 changed files'
expect
(
page
).
to
have_content
'0 changed files'
...
@@ -172,7 +172,7 @@ describe 'Merge request > User sees versions', :js do
...
@@ -172,7 +172,7 @@ describe 'Merge request > User sees versions', :js do
describe
'compare with newer version'
do
describe
'compare with newer version'
do
before
do
before
do
page
.
within
'.mr-version-compare-dropdown'
do
page
.
within
'.mr-version-compare-dropdown'
do
find
(
'.btn-
default
'
).
click
find
(
'.btn-
secondary
'
).
click
click_link
'version 2'
click_link
'version 2'
end
end
end
end
...
@@ -183,7 +183,7 @@ describe 'Merge request > User sees versions', :js do
...
@@ -183,7 +183,7 @@ describe 'Merge request > User sees versions', :js do
end
end
page
.
within
'.mr-version-dropdown'
do
page
.
within
'.mr-version-dropdown'
do
find
(
'.btn-
default
'
).
click
find
(
'.btn-
secondary
'
).
click
click_link
'version 1'
click_link
'version 1'
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment