Sha256: 2f9eddfa4024cd3de1d00c9cf351f8896a73e1561c5afb3c948da1a70512f669
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
Feature: Bootstrap a sinatra application In order to be able to make a lot of sinatra apps As a great developer I need a tool to let me bootstrap them quickly Background: Given the directory "tmp/thingy" does not exist Scenario: Get help When I run `braces --help` Then the exit status should be 0 And the output should contain: """ Usage: braces [options] app_name Braces help you quickly bootstrap a sinatra application. Options: --force Overwrite files if they exist """ Scenario: Bootstrap When I successfully run `braces tmp/thingy` Then the following directories should exist: |tmp/thingy | |tmp/thingy/lib | |tmp/thingy/spec | And the following files should exist: |tmp/thingy/config.ru | |tmp/thingy/Gemfile | |tmp/thingy/Rakefile | |tmp/thingy/lib/thingy.rb | |tmp/thingy/spec/spec_helper.rb | And the file "tmp/thingy/config.ru" should match /Thingy.app/ And the file "tmp/thingy/spec/spec_helper.rb" should match /Thingy.app/ And the file "tmp/thingy/lib/thingy.rb" should match /module Thingy/
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
braces-0.0.1 | features/braces.feature |