lib/busser/runner_plugin/nose2.rb in busser-nose2-0.1.3 vs lib/busser/runner_plugin/nose2.rb in busser-nose2-0.1.4
- old
+ new
@@ -23,10 +23,10 @@
# @author Omer Katz <omer.drow@gmail.com>
#
class Busser::RunnerPlugin::Nose2 < Busser::RunnerPlugin::Base
postinstall do
run!("pip install nose2")
- if File.file?("#suite_path('nose2')/requirements.txt")
+ if File.file?("#{suite_path('nose2')}/requirements.txt")
puts "Installing test requirements."
run!("pip install #suite_path('nose2')/requirements.txt")
end
end