spec/unit/active_admin_spec.rb in activeadmin-0.6.0 vs spec/unit/active_admin_spec.rb in activeadmin-0.6.1

- old
+ new

@@ -1,21 +1,7 @@ require 'spec_helper' describe ActiveAdmin do - describe "#default_namespace" do - it "should delegate to ActiveAdmin.application" do - ActiveAdmin.application.should_receive(:default_namespace) - - ActiveAdmin.default_namespace - end - - it "should be deprecated" do - ActiveAdmin::Deprecation.should_receive(:warn) - - ActiveAdmin.default_namespace - end - end - %w(register register_page unload! load! routes).each do |method| it "delegates ##{method} to application" do ActiveAdmin.application.should_receive(method) ActiveAdmin.send(method)