Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
activeadmin / spec / requests / stylesheets_spec.rb
Size: Mime:
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 be_nil
  end
  it "should not have any syntax errors" do
    expect(css.to_s).to_not include("Syntax error:")
  end

end