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