Sha256: 6d5c736ca03fe05a7f970bfa4833d9f39e637dae1091ff08a946cbadfedd41a8

Contents?: true

Size: 689 Bytes

Versions: 12

Compression:

Stored size: 689 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.coffee" do
      path = Rails.root + "app/assets/javascripts/active_admin.js.coffee"

      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

12 entries across 12 versions & 2 rubygems

Version Path
activeadmin-rb-1.6.0 spec/unit/generators/install_spec.rb
activeadmin-rb-1.5.2 spec/unit/generators/install_spec.rb
activeadmin-rb-1.5.1 spec/unit/generators/install_spec.rb
activeadmin-rb-1.5.0 spec/unit/generators/install_spec.rb
activeadmin-rb-1.4.0 spec/unit/generators/install_spec.rb
activeadmin-1.3.1 spec/unit/generators/install_spec.rb
activeadmin-1.3.0 spec/unit/generators/install_spec.rb
activeadmin-1.2.1 spec/unit/generators/install_spec.rb
activeadmin-1.2.0 spec/unit/generators/install_spec.rb
activeadmin-1.1.0 spec/unit/generators/install_spec.rb
activeadmin-1.0.0 spec/unit/generators/install_spec.rb
activeadmin-1.0.0.pre5 spec/unit/generators/install_spec.rb