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

Deprecation warning when running Rambo tests with Rails 5 #90

Open
danascheider opened this issue Oct 18, 2016 · 0 comments
Open

Deprecation warning when running Rambo tests with Rails 5 #90

danascheider opened this issue Oct 18, 2016 · 0 comments

Comments

@danascheider
Copy link
Owner

Summary

When I generate tests for a Rails 5 app using rake rambo, a deprecation warning appears:

DEPRECATION WARNING: ActionController::TestCase HTTP request methods will accept only
keyword arguments in future Rails versions.

Examples:

get :show, params: { id: 1 }, session: { user_id: 1 }
process :update, method: :post, params: { id: 1 }
 (called from block (3 levels) in <top (required)> at /Users/dana/Development/personal_calculator/spec/controllers/calculations_controller_spec.rb:9)
DEPRECATION WARNING: ActionController::TestCase HTTP request methods will accept only
keyword arguments in future Rails versions.

Examples:

get :show, params: { id: 1 }, session: { user_id: 1 }
process :update, method: :post, params: { id: 1 }
 (called from block (3 levels) in <top (required)> at /Users/dana/Development/personal_calculator/spec/controllers/calculations_controller_spec.rb:9)

Expected Behavior

Running Rambo-generated tests should not cause any errors or warnings.

Current Behavior

Running Rambo-generated tests against a Rails 5 app causes warnings to be output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant