Displaying 1 result from an estimated 1 matches for "step_matchers_path".
2007 Dec 29
5
./script/story command
...ec core.
WDYT?
--
Bryan Helmkamp
http://brynary.com -- My blog
-----------------------------------------------
#!/usr/bin/env ruby
class StoryCommand
ROOT_PATH = File.expand_path(File.dirname(__FILE__) + "/..")
STORIES_PATH = "#{ROOT_PATH}/stories/scenarios"
STEP_MATCHERS_PATH = "#{ROOT_PATH}/stories/steps"
HELPER_PATH = "#{ROOT_PATH}/stories/helper"
def self.run
self.new.run
end
def run
if ARGV.empty? && first_char = using_stdin?
setup_and_run_story((first_char + STDIN.read).split("\n"))
elsif AR...