lib/busser/runner_plugin/nose2.rb in busser-nose2-0.1.0 vs lib/busser/runner_plugin/nose2.rb in busser-nose2-0.1.1
- old
+ new
@@ -21,9 +21,12 @@
# A Busser runner plugin for Nose2.
#
# @author Omer Katz <omer.drow@gmail.com>
#
class Busser::RunnerPlugin::Nose2 < Busser::RunnerPlugin::Base
+ postinstall do
+ run!("pip install nose2")
+ end
def test
run!("nose2 --start-dir #{suite_path('nose2').to_s}")
end
end