Permalink
Browse files

Reconfiguring test directory structure to account for lack of shoulda…

… tests
  • Loading branch information...
1 parent 40b1cd2 commit b6a4087bca19a8cdc9733a24a6443f1cdf9fc2fb @gus gus committed May 12, 2010
View
@@ -10,15 +10,7 @@ task(:set_test_env) { ENV['RACK_ENV'] ||= 'test' }
desc "Run all tests"
Rake::TestTask.new("test") do |t|
t.libs.concat ['./lib', './test']
- t.test_files = FileList['test/riot_tests/*_test.rb']
- t.verbose = true
-end
-
-task "test:shoulda" => [:set_test_env]
-desc "Run all Shoulda based tests"
-Rake::TestTask.new("test:shoulda") do |t|
- t.libs.concat ['./lib', './test']
- t.test_files = FileList['test/shoulda_tests/*_test.rb']
+ t.test_files = FileList['test/*_test.rb']
t.verbose = true
end
@@ -1,4 +1,4 @@
-require 'riot_tests/test_helper'
+require 'teststrap'
context "Application Test:" do
@@ -1,4 +1,4 @@
-require 'riot_tests/test_helper'
+require 'teststrap'
context "Helpers Test:" do
setup do
@@ -1,4 +1,4 @@
-require 'riot_tests/test_helper'
+require 'teststrap'
context "Responders Test:" do
setup do
@@ -1,4 +1,4 @@
-require 'riot_tests/test_helper'
+require 'teststrap'
context "Riot Macros Test:" do
setup do
File renamed without changes.

0 comments on commit b6a4087

Please sign in to comment.