forked from thoughtbot/kumade
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |