Sha256: 856ac4ff6b90071d059f247403ef28edc2e1146a5a099f2d76d3d7916bc1846f

Contents?: true

Size: 618 Bytes

Versions: 5

Compression:

Stored size: 618 Bytes

Contents

require 'spec_helper'

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

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

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

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

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

  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
active_administration-0.0.3 spec/unit/generators/install_spec.rb
activeadministration-0.0.2 spec/unit/generators/install_spec.rb
active_administration-0.0.2 spec/unit/generators/install_spec.rb
activeadministration-0.0.1 spec/unit/generators/install_spec.rb
active_administration-0.0.1 spec/unit/generators/install_spec.rb