Add temporary monkey patch to get specs passing on 4.2.5.1
This commit is contained in:
parent
484d14680d
commit
47ff1c5608
1 changed files with 6 additions and 0 deletions
|
@ -48,4 +48,10 @@ FactoryGirl::SyntaxRunner.class_eval do
|
||||||
include RSpec::Mocks::ExampleMethods
|
include RSpec::Mocks::ExampleMethods
|
||||||
end
|
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!
|
ActiveRecord::Migration.maintain_test_schema!
|
||||||
|
|
Loading…
Reference in a new issue