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
331c4f4d
Commit
331c4f4d
authored
Oct 17, 2018
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Harden a spec
parent
c094bdb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
spec/services/application_settings/update_service_spec.rb
spec/services/application_settings/update_service_spec.rb
+3
-0
No files found.
spec/services/application_settings/update_service_spec.rb
View file @
331c4f4d
...
...
@@ -10,6 +10,9 @@ describe ApplicationSettings::UpdateService do
before
do
# So the caching behaves like it would in production
stub_env
(
'IN_MEMORY_APPLICATION_SETTINGS'
,
'false'
)
# Creating these settings first ensures they're used by other factories
application_settings
end
describe
'updating terms'
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