Permalink
Browse files

Merge pull request #144 from tf/fix-versions-in-functional-tests

  • Loading branch information...
rvagg committed May 9, 2012
2 parents 78543ec + 784be96 commit acfca44f4bb2b057671919f1197befc5d622a00f
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/functional/build-test.js
@@ -174,14 +174,14 @@ so if we include bean at the top level we should see it once in our build file.
, '`ender build ender-bootstrap-popover`': function (done) {
var files = [ 'ender.js', 'ender.min.js' ]
functionalCommon.runEnder(
- 'build ender-bootstrap-popover'
+ 'build ender-bootstrap-popover@2.0.2'
, files
, function (err, dir, fileContents, stdout, stderr, callback) {
refute(err)
refute(stderr)
- assert.stdoutRefersToNPMPackages(stdout, 'ender-js ender-bootstrap-popover')
- assert.stdoutReportsBuildCommand(stdout, 'ender build ender-bootstrap-popover')
+ assert.stdoutRefersToNPMPackages(stdout, 'ender-js ender-bootstrap-popover@2.0.2')
+ assert.stdoutReportsBuildCommand(stdout, 'ender build ender-bootstrap-popover@2.0.2')
assert.stdoutReportsOutputSizes(stdout)
assert.hasVersionedPackage(stdout, 'ender-bootstrap-popover', 'stdout')
assert.hasVersionedPackage(stdout, 'ender-bootstrap-base', 'stdout')
@@ -196,7 +196,7 @@ so if we include bean at the top level we should see it once in our build file.
fileContents.forEach(function (contents, i) {
assert.match(
contents
- , /Build: ender build ender-bootstrap-popover$/m
+ , /Build: ender build ender-bootstrap-popover@2.0.2$/m
, files[i] + ' contains correct build command'
)
assert.sourceContainsProvideStatements(contents, 9, files[i])

0 comments on commit acfca44

Please sign in to comment.