test/glob_test.rb in sinatra-assetpack-0.1.3 vs test/glob_test.rb in sinatra-assetpack-0.1.4

- old
+ new

@@ -19,22 +19,25 @@ def app App end should "match double-star globs recursively" do + app.stubs(:development?).returns(true) get '/a' assert body.include?("a/b/c1/hello.") assert body.include?("a/b/c2/hi.") assert body.include?("a/b/c2/hola.") end should "match single-star globs in filenames" do + app.stubs(:development?).returns(true) get '/b' assert body.include?("a/b/c2/hi.") assert body.include?("a/b/c2/hola.") end should "match single-star globs in paths" do + app.stubs(:development?).returns(true) get '/c' assert body.include?("a/b/c1/hello.") assert body.include?("a/b/c2/hi.") assert body.include?("a/b/c2/hola.") end