Sha256: 9763fabe8443b3854534c9e13c1a1f9061e8b690d0c98b1a0d201e2d8b3453ec

Contents?: true

Size: 636 Bytes

Versions: 6

Compression:

Stored size: 636 Bytes

Contents

require 'rails_helper'

describe "AA installation" do
  context "should create" do

    it "active_admin.scss" do
      path = Rails.root + "app/assets/stylesheets/active_admin.scss"
      expect(File.exists? path).to be_truthy
    end

    it "active_admin.js.coffee" do
      expect(File.exists?(Rails.root + "app/assets/javascripts/active_admin.js.coffee")).to be_truthy
    end

    it "the dashboard" do
      expect(File.exists?(Rails.root + "app/admin/dashboard.rb")).to be_truthy
    end

    it "the initializer" do
      expect(File.exists?(Rails.root + "config/initializers/active_admin.rb")).to be_truthy
    end

  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
activeadmin_addons-1.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/unit/generators/install_spec.rb
activeadmin_addons-1.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/unit/generators/install_spec.rb
activeadmin_addons-1.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/unit/generators/install_spec.rb
activeadmin_addons-1.0.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/unit/generators/install_spec.rb
activeadmin_addons-1.0.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/spec/unit/generators/install_spec.rb
activeadmin-1.0.0.pre2 spec/unit/generators/install_spec.rb