8000 Remove now unneeded workaround by deivid-rodriguez · Pull Request #5859 · activeadmin/activeadmin · GitHub
[go: up one dir, main page]

Skip to content

Remove now unneeded workaround #5859

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

Merged
merged 1 commit into from
Sep 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions spec/support/active_admin_integration_spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class MockActionView < ::ActionView::Base
# Returns a fake action view instance to use with our renderers
def mock_action_view(base = MockActionView)
controller = ActionView::TestCase::TestController.new
#this line needed because of rails bug https://github.com/rails/rails/commit/d8e98897b5703ac49bf0764da71a06d64ecda9b0
controller.params = ActionController::Parameters.new

base.new(view_paths, {}, controller)
end
Expand Down
0