Sha256: 0c6f99d28c4d2c29df0e9abba3a5cc1da6c9b4b01dee6ad2d482f342cc5d1968
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] 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.2 | features/braces.feature |