Skip to content

Instantly share code, notes, and snippets.

@cherring
Forked from davemcp/gist:726536
Created December 3, 2010 03:19
Show Gist options
  • Save cherring/726540 to your computer and use it in GitHub Desktop.
Save cherring/726540 to your computer and use it in GitHub Desktop.
Feature: Generate a new Synapse app
lorem ipsum else
Scenario: Generate a new synapse app
Given I have no synapse app "my/new/app" # Test that there are no files/dirs for the app
When I generate a synapse app "my/new/app" # Trigger the app build
Then I should have the generated files for "my/new/app" # Test that all the files are there, Use an after hook to get rid of them after
When /^ I generate a synapse app "([^"]*)"$/ do |arg1|
AppGenerator.create_rails_app arg1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment