Rakefile in FluxTuna-0.0.4 vs Rakefile in FluxTuna-0.0.5
- old
+ new
@@ -57,11 +57,19 @@
desc "Run all our tests"
task :test do
Rake::TestTask.new do |t|
t.libs << "test"
- t.pattern = "test/**/*_test.rb"
t.verbose = false
+
+ # List of files. We need to specifiy these explicity so they
+ # are loaded in the correct order: init, data, then the tests
+ # themselves
+ t.test_files = ["test/init_test.rb",
+
+ "test/data/data_test.rb",
+
+ "test/dir_walk/create_witness_test.rb"]
end
end
## Set testing as the default action
task :default => :test
\ No newline at end of file