Skip to content

Commit

Permalink
fix test for 1.9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschilling committed Aug 25, 2014
1 parent e9afa17 commit 1ee19f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/resource_controller_spec.rb
Expand Up @@ -225,7 +225,7 @@ def call_after_destroy(obj); end
describe "performing batch_action" do
let(:controller){ Admin::PostsController.new }
let(:batch_action) { ActiveAdmin::BatchAction.new :flag, "Flag", &batch_action_block }
let(:batch_action_block) { -> (*) { } }
let(:batch_action_block) { lambda { |*| } }
before do
allow(controller.class.active_admin_config).to receive(:batch_actions).and_return([batch_action])
end
Expand Down

0 comments on commit 1ee19f7

Please sign in to comment.