Sha256: b2326ddb0b25008d72eb34d754192e2b0891495637130eca3802852271d4b3d0

Contents?: true

Size: 293 Bytes

Versions: 19

Compression:

Stored size: 293 Bytes

Contents

require File.expand_path('../test_helper', __FILE__)

class RedundantTest < UnitTest
  Main.get("/helpers/css/redundant") { css :redundant }

  test "redundant" do
    app.stubs(:development?).returns(true)
    get '/helpers/css/redundant'
    assert body.scan(/screen/).count == 1
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
sinatra-assetpack-0.3.5 test/redundant_test.rb
sinatra-assetpack-0.3.3 test/redundant_test.rb
sinatra-assetpack-0.3.2 test/redundant_test.rb
sinatra-assetpack-0.3.1 test/redundant_test.rb
sinatra-assetpack-0.3.0 test/redundant_test.rb
sinatra-assetpack-0.2.8 test/redundant_test.rb
sinatra-assetpack-0.2.7 test/redundant_test.rb
sinatra-assetpack-0.2.6 test/redundant_test.rb
sinatra-assetpack-0.2.5 test/redundant_test.rb
sinatra-assetpack-0.2.4 test/redundant_test.rb
sinatra-assetpack-0.2.3 test/redundant_test.rb
sinatra-assetpack-0.2.2 test/redundant_test.rb
sinatra-assetpack-0.2.1 test/redundant_test.rb
sinatra-assetpack-0.2.0 test/redundant_test.rb
sinatra-assetpack-0.1.7 test/redundant_test.rb
sundawg-sinatra-assetpack-fork-0.1.6 test/redundant_test.rb
sinatra-assetpack-0.1.6 test/redundant_test.rb
sinatra-assetpack-0.1.5 test/redundant_test.rb
sinatra-assetpack-0.1.4 test/redundant_test.rb