-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get tests passing on Rails 5 #1324
Conversation
Failures are in caching. Help, anyone? ref:
cc @kurko @guilleiguaran @joaomdmoura @spastorino @thibaudgg removed commits that may be interesting |
d043106
to
8789370
Compare
ref: #1303 |
ebb5c6e
to
a84ec92
Compare
before_action { request.format = :json } | ||
else | ||
before_filter { request.format = :json } | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe before_action
already exists in rails4.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, but not in all versions
Also - Add reference to config from ActiveModelSerializers.config - correctly call super in FragmentCacheTest#setup - rename test rails app from Foo to ActiveModelSerializers::RailsApplication
kwargs: params,session,flash,method,body Fix Rails 5 DEPRECATION WARNING
1cc83f1
to
e6b248d
Compare
e6b248d
to
6588dee
Compare
…ster Get tests passing on Rails 5
Having trouble with caching tests. Help?