Sha256: f9540ff07075a8f978a325faa35f67f2529ffdd003080a56e9a394762f2a4ff7

Contents?: true

Size: 265 Bytes

Versions: 12

Compression:

Stored size: 265 Bytes

Contents

require 'spec_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)

      ActiveAdmin.send(method)
    end
  end
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
activeadmin-0.6.6 spec/unit/active_admin_spec.rb
activeadmin-0.6.5 spec/unit/active_admin_spec.rb
activeadmin-0.6.4 spec/unit/active_admin_spec.rb
yousty-activeadmin-1.0.4.pre spec/unit/active_admin_spec.rb
yousty-activeadmin-1.0.3.pre spec/unit/active_admin_spec.rb
yousty-activeadmin-1.0.2.pre spec/unit/active_admin_spec.rb
activeadmin-0.6.3 spec/unit/active_admin_spec.rb
yousty-activeadmin-1.0.1.pre spec/unit/active_admin_spec.rb
yousty-activeadmin-1.0.0.pre spec/unit/active_admin_spec.rb
activeadmin-0.6.2 spec/unit/active_admin_spec.rb
activeadmin-0.6.1 spec/unit/active_admin_spec.rb
aa-rails4-0.6.0 spec/unit/active_admin_spec.rb