diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-07-04 18:29:10 -0500 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-07-07 13:07:50 -0500 |
commit | eda205342140e1bc71b5f0b6935b5ffc502a85cd (patch) | |
tree | ae3df6225c0a1fffd9e0dbd67fa66a7fea8b9c97 /spec | |
parent | 40e16b22f9a4ecb7dd7a25c4a0355809bed70ebe (diff) | |
download | gitlab-ce-eda205342140e1bc71b5f0b6935b5ffc502a85cd.tar.gz |
Move Omniauth specific setup to its own file
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 4 | ||||
-rw-r--r-- | spec/support/omni_auth.rb | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 537aa46a2fd..09ff5a18a35 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -56,6 +56,4 @@ FactoryGirl::SyntaxRunner.class_eval do include RSpec::Mocks::ExampleMethods end -ActiveRecord::Migration.maintain_test_schema! - -OmniAuth.config.test_mode = true +ActiveRecord::Migration.maintain_test_schema!
\ No newline at end of file diff --git a/spec/support/omni_auth.rb b/spec/support/omni_auth.rb new file mode 100644 index 00000000000..3d262ff9ca0 --- /dev/null +++ b/spec/support/omni_auth.rb @@ -0,0 +1 @@ +OmniAuth.config.test_mode = true
\ No newline at end of file |