Sha256: a436fcfc3952b3e59a8b4e951a99035b034081ffb714ed11b77cc01ba1042ab0

Contents?: true

Size: 402 Bytes

Versions: 5

Compression:

Stored size: 402 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe Culerity::JRubyRunner do
  it "has the command for running jruby within jruby-complete" do
    Culerity::JRubyRunner.cmd.should match(/jruby/)
  end

  it "runs JRuby with the given parameters" do
    Culerity::JRubyRunner.run("--version").should match(/^jruby 1.4.0/)
    Culerity::JRubyRunner.run("-e 'puts 1'").chomp.should == "1"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fletcherm-culerity-0.2.9 spec/jruby_runner_spec.rb
fletcherm-culerity-0.2.8 spec/jruby_runner_spec.rb
fletcherm-culerity-0.2.7 spec/jruby_runner_spec.rb
fletcherm-culerity-0.2.6 spec/jruby_runner_spec.rb
fletcherm-culerity-0.2.5 spec/jruby_runner_spec.rb