spec/unit/active_admin_spec.rb in activeadmin-0.6.6 vs spec/unit/active_admin_spec.rb in activeadmin-1.0.0.pre1

- old
+ new

@@ -1,10 +1,10 @@ -require 'spec_helper' +require 'rails_helper' describe ActiveAdmin do %w(register register_page unload! load! routes).each do |method| it "delegates ##{method} to application" do - ActiveAdmin.application.should_receive(method) + expect(ActiveAdmin.application).to receive(method) ActiveAdmin.send(method) end end end