Sha256: e6655d630cb67ff7bb1e6fb04134d81ae404fed2cc282d552494523b3d90fc62

Contents?: true

Size: 389 Bytes

Versions: 6

Compression:

Stored size: 389 Bytes

Contents

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
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
andrewroth_activeadmin-0.3.4 spec/unit/active_admin_spec.rb
activeadmin-0.3.4 spec/unit/active_admin_spec.rb
activeadmin-0.3.3 spec/unit/active_admin_spec.rb
activeadmin-0.3.2 spec/unit/active_admin_spec.rb
activeadmin-0.3.1 spec/unit/active_admin_spec.rb
activeadmin-0.3.0 spec/unit/active_admin_spec.rb