Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
Add feature for NoopPackager
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Oct 22, 2011
1 parent ef026fc commit 621698e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions features/no_op_packager.feature
@@ -0,0 +1,17 @@
@slow @creates-remote @disable-bundler
Feature: No-op packager
As a user
I want Kumade to gracefully handle occasions when I have no assets to package
So that I am not forced to package my assets

Background:
Given a new Rails app
When I create a Heroku remote for "my-app" named "staging"

Scenario: No-op packager runs in pretend mode if Jammit is not installed
When I run kumade with "staging -p"
Then the output should contain "==> Packaged with Kumade::NoopPackager"

Scenario: No-op packager runs in normal mode if Jammit is not installed
When I run kumade with "staging -v"
Then the output should contain "==> Packaged with Kumade::NoopPackager"

0 comments on commit 621698e

Please sign in to comment.