Sha256: 62c5098e72e8e28f427b63fe65519375b14bb0266c8e8f3bafd5389c401223ba
Contents?: true
Size: 1.11 KB
Versions: 3
Compression:
Stored size: 1.11 KB
Contents
Feature: Bootstrap a new command-line app using RSpec instead of Test::Unit As an awesome developer who wants to make a command-line app I should be able to use methadone to bootstrap it And get support for RSpec instead of Test::Unit Background: Given the directory "tmp/newgem" does not exist Scenario: Bootstrap a new app from scratch When I successfully run `methadone --rspec tmp/newgem` Then the following directories should exist: |tmp/newgem/spec | And the following directories should not exist: |tmp/newgem/test | And the following files should exist: |tmp/newgem/spec/tc_something_spec.rb | Given I cd to "tmp/newgem" When I successfully run `rake -T -I../../lib` Then the output should contain: """ rake spec # Run RSpec code examples """ And the output should not contain: """ rake test # Run tests """ When I run `rake spec -I../../lib` Then the exit status should be 0 And the output should contain: """ 1 example, 0 failures """
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
methadone-1.2.1 | features/rspec_support.feature |
methadone-1.2.0 | features/rspec_support.feature |
methadone-1.1.0 | features/rspec_support.feature |