Skip to content
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

Merged
merged 7 commits into from
Nov 26, 2015
Merged

Get tests passing on Rails 5 #1324

merged 7 commits into from
Nov 26, 2015

Conversation

bf4
Copy link
Member

@bf4 bf4 commented Nov 10, 2015

Having trouble with caching tests. Help?

@bf4 bf4 added the V: 0.10.x label Nov 10, 2015
@bf4
Copy link
Member Author

bf4 commented Nov 19, 2015

@bf4 bf4 force-pushed the get_tests_running_on_rails_master branch 2 times, most recently from d043106 to 8789370 Compare November 19, 2015 20:06
@bf4
Copy link
Member Author

bf4 commented Nov 24, 2015

ref: #1303

@bf4 bf4 force-pushed the get_tests_running_on_rails_master branch 7 times, most recently from ebb5c6e to a84ec92 Compare November 24, 2015 22:04
before_action { request.format = :json }
else
before_filter { request.format = :json }
end
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup

Copy link
Contributor

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.

Copy link
Member Author

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

bf4 added 6 commits November 25, 2015 21:56
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
@bf4 bf4 force-pushed the get_tests_running_on_rails_master branch from 1cc83f1 to e6b248d Compare November 26, 2015 03:57
@bf4 bf4 changed the title [WIP] Get tests fixed on Rails 5 Get tests fixed on Rails 5 Nov 26, 2015
@bf4 bf4 changed the title Get tests fixed on Rails 5 Get tests passing on Rails 5 Nov 26, 2015
@bf4 bf4 force-pushed the get_tests_running_on_rails_master branch from e6b248d to 6588dee Compare November 26, 2015 04:06
bf4 added a commit that referenced this pull request Nov 26, 2015
@bf4 bf4 merged commit 8aaaa44 into master Nov 26, 2015
@bf4 bf4 deleted the get_tests_running_on_rails_master branch November 26, 2015 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants