spec/unit/form_builder_spec.rb in activeadmin-rb-1.4.0 vs spec/unit/form_builder_spec.rb in activeadmin-rb-1.5.0

- old
+ new

@@ -3,10 +3,10 @@ RSpec.describe ActiveAdmin::FormBuilder do # Setup an ActionView::Base object which can be used for # generating the form for. let(:helpers) do - view = action_view + view = mock_action_view def view.posts_path "/posts" end def view.protect_against_forgery?