Sha256: 78e179ee4efae1359e53e9bb9ac8fb37dc3d9e82b10a1f10ba6291ce1b2eb566

Contents?: true

Size: 276 Bytes

Versions: 21

Compression:

Stored size: 276 Bytes

Contents

require 'rails_helper'

RSpec.describe ActiveAdmin do
  %w(register register_page unload! load! routes).each do |method|
    it "delegates ##{method} to application" do
      expect(ActiveAdmin.application).to receive(method)

      ActiveAdmin.send(method)
    end
  end
end

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
activeadmin-rails-1.7.1 spec/unit/active_admin_spec.rb
activeadmin-rails-1.7.0 spec/unit/active_admin_spec.rb
activeadmin-rb-1.6.0 spec/unit/active_admin_spec.rb
activeadmin-rb-1.5.2 spec/unit/active_admin_spec.rb
activeadmin-rb-1.5.1 spec/unit/active_admin_spec.rb
activeadmin-rb-1.5.0 spec/unit/active_admin_spec.rb
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/active_admin_spec.rb
activeadmin-rb-1.4.0 spec/unit/active_admin_spec.rb
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/active_admin_spec.rb
activeadmin-1.3.1 spec/unit/active_admin_spec.rb
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/active_admin_spec.rb
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/active_admin_spec.rb
activeadmin-1.3.0 spec/unit/active_admin_spec.rb
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/active_admin_spec.rb
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/active_admin_spec.rb
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/active_admin_spec.rb
activeadmin-1.2.1 spec/unit/active_admin_spec.rb
activeadmin-1.2.0 spec/unit/active_admin_spec.rb
activeadmin-1.1.0 spec/unit/active_admin_spec.rb
activeadmin-1.0.0 spec/unit/active_admin_spec.rb