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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
9b48c688
Commit
9b48c688
authored
Aug 02, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
port specs
parent
493b225b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
spec/features/projects/remote_mirror_spec.rb
spec/features/projects/remote_mirror_spec.rb
+6
-2
spec/features/projects/settings/repository_settings_spec.rb
spec/features/projects/settings/repository_settings_spec.rb
+2
-3
No files found.
spec/features/projects/remote_mirror_spec.rb
View file @
9b48c688
...
...
@@ -17,7 +17,9 @@ describe 'Project remote mirror', :feature do
visit
project_mirror_path
(
project
)
expect
(
page
).
to
have_content
(
'The remote repository failed to update.'
)
row
=
first
(
'.js-mirrors-table-body tr'
)
expect
(
row
).
to
have_content
(
'Error'
)
expect
(
row
).
to
have_content
(
'Never'
)
end
end
...
...
@@ -27,7 +29,9 @@ describe 'Project remote mirror', :feature do
visit
project_mirror_path
(
project
)
expect
(
page
).
to
have_content
(
'The remote repository failed to update 5 minutes ago.'
)
row
=
first
(
'.js-mirrors-table-body tr'
)
expect
(
row
).
to
have_content
(
'Error'
)
expect
(
row
).
to
have_content
(
'5 minutes ago'
)
end
end
end
...
...
spec/features/projects/settings/repository_settings_spec.rb
View file @
9b48c688
...
...
@@ -129,9 +129,8 @@ describe 'Projects > Settings > Repository settings' do
visit
project_settings_repository_path
(
project
)
end
it
'shows push mirror settings'
do
expect
(
page
).
to
have_selector
(
'#project_remote_mirrors_attributes_0_enabled'
)
expect
(
page
).
to
have_selector
(
'#project_remote_mirrors_attributes_0_url'
)
it
'shows push mirror settings'
,
:js
do
expect
(
page
).
to
have_selector
(
'#mirror_direction'
)
end
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