Commit 209616d61f9abf814649bb707c02b634c110680f
1 parent
9b6bcaf7
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Fix plugins_tests task
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
Gemfile
| @@ -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) |