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
ca9f9454
Commit
ca9f9454
authored
Oct 06, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 2.7 kwargs deprecation warnings in view specs
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
1ab26e7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/views/groups/edit.html.haml_spec.rb
spec/views/groups/edit.html.haml_spec.rb
+1
-1
spec/views/profiles/preferences/show.html.haml_spec.rb
spec/views/profiles/preferences/show.html.haml_spec.rb
+1
-1
No files found.
spec/views/groups/edit.html.haml_spec.rb
View file @
ca9f9454
...
...
@@ -26,7 +26,7 @@ RSpec.describe 'groups/edit.html.haml' do
expect
(
rendered
).
to
have_content
(
"Prevent sharing a project within
#{
test_group
.
name
}
with other groups"
)
expect
(
rendered
).
to
have_css
(
'.js-descr'
,
text:
'help text here'
)
expect
(
rendered
).
to
have_field
(
'group_share_with_group_lock'
,
checkbox_options
)
expect
(
rendered
).
to
have_field
(
'group_share_with_group_lock'
,
**
checkbox_options
)
end
end
...
...
spec/views/profiles/preferences/show.html.haml_spec.rb
View file @
ca9f9454
...
...
@@ -75,7 +75,7 @@ RSpec.describe 'profiles/preferences/show' do
end
def
have_integrations_section
have_css
(
'#integrations.profile-settings-sidebar'
,
{
text:
'Integrations'
}
)
have_css
(
'#integrations.profile-settings-sidebar'
,
text:
'Integrations'
)
end
before
do
...
...
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