Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gpt
large_projects
gitlabhq1
Commits
47ff1c56
Commit
47ff1c56
authored
9 years ago
by
Robert Speicher
Browse files
Options
Download
Email Patches
Plain Diff
Add temporary monkey patch to get specs passing on 4.2.5.1
parent
484d1468
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
spec/spec_helper.rb
spec/spec_helper.rb
+6
-0
No files found.
spec/spec_helper.rb
View file @
47ff1c56
...
...
@@ -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!
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment