Sha256: 2f7e949b7d3eff2fc126efb7c9db1d236c9e2da87400a193705c0213403d3c8a
Contents?: true
Size: 411 Bytes
Versions: 18
Compression:
Stored size: 411 Bytes
Contents
Given /^I have jruby installed$/ do @jruby_cmd = `which jruby`.strip raise "Need to setup @jruby_cmd to test jruby environment" if @jruby_cmd.blank? end Then /^the gem "([^\"]*)" is installed into jruby environment$/ do |gem_name| raise "Need to setup @jruby_cmd to test jruby environment" if @jruby_cmd.blank? gem_list = `#{@jruby_cmd} -S gem list #{gem_name}` gem_list.should =~ /#{gem_name}/ end
Version data entries
18 entries across 18 versions & 3 rubygems