Skip to content

Commit

Permalink
moved test:irt task
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Jan 22, 2012
1 parent 002b3bb commit 9693358
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 7 additions & 0 deletions hobo/Rakefile
Expand Up @@ -43,6 +43,13 @@ namespace "test" do
files=Dir['test/doctest/**/*.rdoctest'].map {|f| File.expand_path(f)}.join(' ')
exit(1) if !system("#{RUBYDOCTEST} #{files}")
end

desc "Run the irt tests"
task :irt => :prepare_testapp do |t|
chdir TESTAPP_PATH
sh %(irt #{File.expand_path('.',GEM_ROOT)})
end

end

# --- RDoc --- #
Expand Down
5 changes: 0 additions & 5 deletions hobo_support/lib/hobo_support/common_tasks.rb
Expand Up @@ -4,11 +4,6 @@ module HoboSupport
CommonTasks = classy_module do

namespace :test do
desc "Run the irt tests"
task :irt => :prepare_testapp do |t|
chdir TESTAPP_PATH
sh %(irt #{File.expand_path('.',GEM_ROOT)})
end

desc "Prepare a rails application for testing"
task :prepare_testapp, :force do |t, args|
Expand Down

0 comments on commit 9693358

Please sign in to comment.