Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 2a131743e1434f8124699eebae972a566377a1f8 1 parent 85d4301
Karel Minarik authored
3  Rakefile
View
@@ -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
2  test/integration/index_mapping_test.rb
View
@@ -2,7 +2,7 @@
module Slingshot
- class IndexMappingTest < Test::Unit::TestCase
+ class IndexMappingIntegrationTest < Test::Unit::TestCase
include Test::Integration
context "Default mapping" do
2  test/integration/index_store_test.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.