Sha256: 6f0a15b7863e1666c0b406646f39ccde1a01a5d28717c479fb1583d40222c765

Contents?: true

Size: 349 Bytes

Versions: 21

Compression:

Stored size: 349 Bytes

Contents

require 'rails_helper'

module ActiveAdmin
  RSpec.describe Resource, "Menu" do

    before { load_defaults! }

    let(:application){ ActiveAdmin::Application.new }
    let(:namespace){ Namespace.new(application, :admin) }

    def config(options = {})
      @config ||= Resource.new(namespace, Category, options)
    end

    # TODO...

  end
end

Version data entries

21 entries across 21 versions & 4 rubygems

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