Permalink
Browse files

get ready for testing

  • Loading branch information...
1 parent d3619b8 commit 9be76f650e2e8a95ef60b555e445f28c753d5bb6 @brntbeer committed May 9, 2011
Showing with 21 additions and 0 deletions.
  1. +11 −0 Rakefile
  2. +10 −0 test/test_command.rb
View
@@ -1,2 +1,13 @@
require 'bundler'
+require 'rubygems'
+require 'rake'
+
Bundler::GemHelper.install_tasks
+
+task :default => :test
+
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+ test.libs << 'lib' << 'test'
+ test.pattern = 'test/**/test_*.rb'
+end
View
@@ -0,0 +1,10 @@
+require 'test/unit'
+
+class TestCommand < Test::Unit::TestCase
+
+ #always a classic.
+ def test_the_truth
+ true
+ end
+
+end

0 comments on commit 9be76f6

Please sign in to comment.