Skip to content

Commit

Permalink
Add test for globstar pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
artnez authored and ricardobeat committed Apr 6, 2013
1 parent 386b221 commit bdd2702
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/flour.spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,13 @@ describe 'Bundle', ->
flour.minifiers.enable()
done()

it 'should support a globstar pattern', (done) ->
flour.bundle "#{dir.sources}/**/*.coffee", output_file, ->
contents = readFile output_file
contents.should.include 'bundle1=function('
contents.should.include 'bundle2=function('
done()

describe 'File path handling', ->

m1 = "#{dir.temp}/multi1.js"
Expand Down

0 comments on commit bdd2702

Please sign in to comment.