Sha256: 01822f45a6a441a920a102e1bc9856459d234c4ce7710de3381348d2b405e3e8

Contents?: true

Size: 412 Bytes

Versions: 5

Compression:

Stored size: 412 Bytes

Contents

require 'rails_helper'

describe "Stylesheets", :type => :request 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 eq 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
activeadmin-orac-1.0.0.pre4 spec/requests/stylesheets_spec.rb
activeadmin-orac-1.0.0 spec/requests/stylesheets_spec.rb
activeadmin-orac-1.0.0.pre.orac spec/requests/stylesheets_spec.rb
activeadmin-1.0.0.pre4 spec/requests/stylesheets_spec.rb
activeadmin-1.0.0.pre3 spec/requests/stylesheets_spec.rb