Sha256: e4d94152266d1559ec6b9de69ba5cdf3035a4fcb22cd2a2692ad1324713e7006

Contents?: true

Size: 269 Bytes

Versions: 5

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'

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

5 entries across 5 versions & 2 rubygems

Version Path
active_administration-0.0.3 spec/unit/active_admin_spec.rb
activeadministration-0.0.2 spec/unit/active_admin_spec.rb
active_administration-0.0.2 spec/unit/active_admin_spec.rb
activeadministration-0.0.1 spec/unit/active_admin_spec.rb
active_administration-0.0.1 spec/unit/active_admin_spec.rb