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
e5d672d8
Commit
e5d672d8
authored
Jul 12, 2016
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Destroy all licenses in spec env to ensure a clean state and no key mix-up
parent
2a7a0af7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
features/support/env.rb
features/support/env.rb
+1
-0
spec/spec_helper.rb
spec/spec_helper.rb
+1
-0
No files found.
features/support/env.rb
View file @
e5d672d8
...
...
@@ -29,6 +29,7 @@ Spinach.hooks.before_run do
include
ActiveJob
::
TestHelper
RSpec
::
Mocks
.
setup
TestEnv
.
init
(
mailer:
false
)
License
.
destroy_all
TestLicense
.
init
# skip pre-receive hook check so we can use
...
...
spec/spec_helper.rb
View file @
e5d672d8
...
...
@@ -48,6 +48,7 @@ RSpec.configure do |config|
end
config
.
before
(
:all
)
do
License
.
destroy_all
TestLicense
.
init
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