Sha256: f70dc4496e1764873485a6da34abac7bcbd5f798fa7f196b32cf946d892d807f

Contents?: true

Size: 415 Bytes

Versions: 21

Compression:

Stored size: 415 Bytes

Contents

require 'rails_helper'

RSpec.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

21 entries across 21 versions & 4 rubygems

Version Path
activeadmin-rails-1.7.1 spec/requests/stylesheets_spec.rb
activeadmin-rails-1.7.0 spec/requests/stylesheets_spec.rb
activeadmin-rb-1.6.0 spec/requests/stylesheets_spec.rb
activeadmin-rb-1.5.2 spec/requests/stylesheets_spec.rb
activeadmin-rb-1.5.1 spec/requests/stylesheets_spec.rb
activeadmin-rb-1.5.0 spec/requests/stylesheets_spec.rb
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/stylesheets_spec.rb
activeadmin-rb-1.4.0 spec/requests/stylesheets_spec.rb
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/stylesheets_spec.rb
activeadmin-1.3.1 spec/requests/stylesheets_spec.rb
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/stylesheets_spec.rb
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/stylesheets_spec.rb
activeadmin-1.3.0 spec/requests/stylesheets_spec.rb
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/stylesheets_spec.rb
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/stylesheets_spec.rb
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/spec/requests/stylesheets_spec.rb
activeadmin-1.2.1 spec/requests/stylesheets_spec.rb
activeadmin-1.2.0 spec/requests/stylesheets_spec.rb
activeadmin-1.1.0 spec/requests/stylesheets_spec.rb
activeadmin-1.0.0 spec/requests/stylesheets_spec.rb