Repository URL to install this package:
|
Version:
1.0.0.pre ▾
|
require 'rails_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