Sha256: 4ef30e85e527aae61c72c6a4b0b57081d597f3f19a921c4d4c8e1ca727b03ffa

Contents?: true

Size: 658 Bytes

Versions: 3

Compression:

Stored size: 658 Bytes

Contents

require 'jruby-on-hadoop'

describe JRubyOnHadoop do
  it 'should return jar path' do
    jar_dir = File.join(File.dirname(__FILE__), '..', 'lib')
    jar_path = File.join(File.expand_path(jar_dir), 'hadoop-ruby.jar')
    JRubyOnHadoop.jar_path.should == jar_path
  end

  it 'should return lib path' do
    lib_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
    JRubyOnHadoop.lib_path.should == lib_dir
  end

  it 'should return wrapper ruby file' do
    dir = File.join(File.dirname(__FILE__), '..', 'lib')
    path = File.join(File.expand_path(dir), 'ruby_wrapper.rb')
    JRubyOnHadoop.wrapper_ruby_file.should == path
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jruby-on-hadoop-0.0.6 spec/jruby-on-hadoop_spec.rb
jruby-on-hadoop-0.0.5 spec/jruby-on-hadoop_spec.rb
jruby-on-hadoop-0.0.4 spec/jruby-on-hadoop_spec.rb