Sha256: e44c03735383592750cf2c7fb71e108eb3dbc7d7ca4eb1c5c22b9cae0231a9c8

Contents?: true

Size: 675 Bytes

Versions: 9

Compression:

Stored size: 675 Bytes

Contents

require 'rails_helper'

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

    it "active_admin.scss" do
      path = Rails.root + "app/assets/stylesheets/active_admin.scss"

      expect(File.exist?(path)).to eq true
    end

    it "active_admin.js" do
      path = Rails.root + "app/assets/javascripts/active_admin.js"

      expect(File.exist?(path)).to eq true
    end

    it "the dashboard" do
      path = Rails.root + "app/admin/dashboard.rb"

      expect(File.exist?(path)).to eq true
    end

    it "the initializer" do
      path = Rails.root + "config/initializers/active_admin.rb"

      expect(File.exist?(path)).to eq true
    end

  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
activeadmin-rails-1.7.1 spec/unit/generators/install_spec.rb
activeadmin-rails-1.7.0 spec/unit/generators/install_spec.rb
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/generators/install_spec.rb
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/generators/install_spec.rb
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/generators/install_spec.rb
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/generators/install_spec.rb
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/generators/install_spec.rb
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/generators/install_spec.rb
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/unit/generators/install_spec.rb