Browse files

[TEST] Correct class names for integration tests, change test Rake ta…

…sk (trying to fix the test order, unit > integration)
  • Loading branch information...
1 parent 85d4301 commit 2a131743e1434f8124699eebae972a566377a1f8 @karmi committed Apr 24, 2011
Showing with 4 additions and 3 deletions.
  1. +2 −1 Rakefile
  2. +1 −1 test/integration/index_mapping_test.rb
  3. +1 −1 test/integration/index_store_test.rb
View
3 Rakefile
@@ -6,8 +6,9 @@ task :default => :test
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
- test.pattern = 'test/**/*_test.rb'
+ test.test_files = FileList['test/unit/*_test.rb', 'test/integration/*_test.rb']
test.verbose = true
+ # test.warning = true
end
namespace :test do
View
2 test/integration/index_mapping_test.rb
@@ -2,7 +2,7 @@
module Slingshot
- class IndexMappingTest < Test::Unit::TestCase
+ class IndexMappingIntegrationTest < Test::Unit::TestCase
include Test::Integration
context "Default mapping" do
View
2 test/integration/index_store_test.rb
@@ -2,7 +2,7 @@
module Slingshot
- class IndexStoreTest < Test::Unit::TestCase
+ class IndexStoreIntegrationTest < Test::Unit::TestCase
include Test::Integration
context "Storing the documents in index" do

0 comments on commit 2a13174

Please sign in to comment.