Commit 1674a3a1a7405371cd9768aeec8f91037cd7ffb5

Authored by Leandro Santos
1 parent 0726343b

fix to run all plugins tests

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
lib/tasks/plugins_tests.rake
... ... @@ -111,7 +111,8 @@ def run_test(name, files)
111 111 end
112 112  
113 113 def run_minitest files
114   - sh 'ruby', '-Itest', *files
  114 + files = files.map{|f| File.join(Rails.root, f)}
  115 + sh 'ruby', '-Itest', '-e ARGV.each{|f| require f}', *files
115 116 end
116 117  
117 118 def run_cucumber(profile, files)
... ...