Sha256: 7239b7369166837cd6a2855d92291e3be5f9d0ddc32bd2f576ac51db62a84b00

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

require 'spec_helper'

describe "Stylesheets" do

  require "sprockets"

  let(:css) do
    assets = Rails.application.assets
    assets.find_asset("active_admin.css")
  end
  it "should successfully render the scss stylesheets using sprockets" do
    expect(css).to_not be_nil
  end
  it "should not have any syntax errors" do
    expect(css.to_s).to_not include("Syntax error:")
  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
active_administration-0.0.3 spec/integration/stylesheets_spec.rb
activeadministration-0.0.2 spec/integration/stylesheets_spec.rb
active_administration-0.0.2 spec/integration/stylesheets_spec.rb
activeadministration-0.0.1 spec/integration/stylesheets_spec.rb
active_administration-0.0.1 spec/integration/stylesheets_spec.rb