aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorTeddy Wing2015-04-11 16:28:24 -0400
committerTeddy Wing2015-04-11 16:32:17 -0400
commitd1e085097a85fe6bc0e42331e0841c1e9257fbc4 (patch)
treee207a95bcf95966c6f8ffb540db37340677fceb3 /Rakefile
parent189e854ed544b81f12773dea9996f1da66118cf9 (diff)
downloadtic-tac-toe-d1e085097a85fe6bc0e42331e0841c1e9257fbc4.tar.bz2
Use specs, create Board
Use specs for testing, create a spec for the Board class. Simple functionality and test to print a grid of dots for the board.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index b642467..8cc2e02 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,7 +2,9 @@ require 'rake'
require 'rake/testtask'
Rake::TestTask.new do |t|
- t.pattern = 'test/**/*_test.rb'
+ t.libs << '.'
+ t.libs << 'spec'
+ t.pattern = 'spec/**/*_spec.rb'
end
task :default => :test