Commit ef7a02c2ed02a1bcf0daeccb43ab07590aa8aaea

Authored by Victor Costa
1 parent 9b6bcaf7

Fix plugins_tests task

Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
@@ -28,6 +28,7 @@ group :production do @@ -28,6 +28,7 @@ group :production do
28 end 28 end
29 29
30 group :test do 30 group :test do
  31 + gem 'test-unit', '~> 1.2.3'
31 gem 'rspec', '~> 2.10.0' 32 gem 'rspec', '~> 2.10.0'
32 gem 'rspec-rails', '~> 2.10.1' 33 gem 'rspec-rails', '~> 2.10.1'
33 gem 'mocha', '~> 1.1.0', :require => false 34 gem 'mocha', '~> 1.1.0', :require => false
lib/tasks/plugins_tests.rake
@@ -104,7 +104,7 @@ def run_test(name, files) @@ -104,7 +104,7 @@ def run_test(name, files)
104 end 104 end
105 105
106 def run_testrb(files) 106 def run_testrb(files)
107 - sh 'testrb', '-Itest', *files 107 + sh 'testrb', '-I.:test', *files
108 end 108 end
109 109
110 def run_cucumber(profile, files) 110 def run_cucumber(profile, files)