Skip to content

Commit

Permalink
Fixes to support the new thor
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed Dec 16, 2008
1 parent eff6e0f commit 558d92d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions step-by-step-app-testing/steps/bundling_merb.rb
Expand Up @@ -2,8 +2,7 @@ module Step

def bundling_merb
puts "bundling merb and mongrel.. this is going to take a while :("
puts `thor merb:gem:install merb`
puts `thor merb:gem:install mongrel`
puts `thor merb:gem:install`
end

end
4 changes: 3 additions & 1 deletion step-by-step-app-testing/test-app.thor
Expand Up @@ -103,7 +103,9 @@ module Step
#
def load_steps(path="shared-steps")
steps = Dir["#{Dir.pwd}/#{path}/**.rb"]
steps.each { |file| require file }
steps.each do |file|
::Thor::Tasks.class_eval(File.read(file))
end
end

end
Expand Down

0 comments on commit 558d92d

Please sign in to comment.