Commit ead63224 authored by Luke Bennett's avatar Luke Bennett

Resolve spec_helper.rb

parent bc70f4ee
...@@ -104,14 +104,13 @@ RSpec.configure do |config| ...@@ -104,14 +104,13 @@ RSpec.configure do |config|
TestEnv.init TestEnv.init
end end
<<<<<<< HEAD # EE-specific start
config.before(:all) do config.before(:all) do
License.destroy_all License.destroy_all
TestLicense.init TestLicense.init
end end
# EE-specific stop
=======
>>>>>>> upstream/master
config.before(:example) do config.before(:example) do
# Skip pre-receive hook check so we can use the web editor and merge. # Skip pre-receive hook check so we can use the web editor and merge.
allow_any_instance_of(Gitlab::Git::Hook).to receive(:trigger).and_return([true, nil]) allow_any_instance_of(Gitlab::Git::Hook).to receive(:trigger).and_return([true, nil])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment