class LearnTest::Dependencies::Protractor
Public Instance Methods
install()
click to toggle source
# File lib/learn_test/dependencies/protractor.rb, line 10 def install print_installing('protractor') run_install('npm install -g protractor') puts 'Updating webdriver-manager...'.green run_install('webdriver-manager update') end
missing?()
click to toggle source
# File lib/learn_test/dependencies/protractor.rb, line 6 def missing? `which protractor`.empty? end