diff options
author | James Lopez <james@jameslopez.es> | 2016-01-29 14:27:10 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-01-29 14:27:10 +0100 |
commit | 7ca6779654ed2da5ba31ab9256406feb1b7fb8ee (patch) | |
tree | 8c3d1e2eb642b667c9e46babdc786a4d4dc3c789 /spec/spec_helper.rb | |
parent | 4d2da5fd2585fead823c4450e54613dadf882c0d (diff) | |
parent | f5860ce6466bf8934bc01254351bffd005dfeafe (diff) | |
download | gitlab-ce-7ca6779654ed2da5ba31ab9256406feb1b7fb8ee.tar.gz |
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/atom-url-issue
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 0225a0ee53f..8f381f46e57 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -48,4 +48,10 @@ FactoryGirl::SyntaxRunner.class_eval do include RSpec::Mocks::ExampleMethods end +# Work around a Rails 4.2.5.1 issue +# See https://github.com/rspec/rspec-rails/issues/1532 +RSpec::Rails::ViewRendering::EmptyTemplatePathSetDecorator.class_eval do + alias_method :find_all_anywhere, :find_all +end + ActiveRecord::Migration.maintain_test_schema! |