diff --git a/features/no_op_packager.feature b/features/no_op_packager.feature new file mode 100644 index 0000000..cc20048 --- /dev/null +++ b/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"