Sha256: dbd718de60c35cc8cc478d2db509df8a7ddac51da4a4aaa7cdb89eefb062c2b0

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

require "spec_helper"

describe Ninjs do  
  it 'should have the correct BASE_DIR' do
    Ninjs::BASE_DIR.should == File.expand_path('../')
  end
  
  it 'should have the correct LIB_DIR' do
    Ninjs::LIB_DIR.should === File.expand_path('../lib')
  end
  
  it 'should have the correct ROOT_DIR' do
    Ninjs::ROOT_DIR.should === File.expand_path(Dir.getwd)
  end
  
  it 'should have the correct VERSION' do
    version = File.open("#{Ninjs::BASE_DIR}/VERSION").readlines.join('')
    Ninjs::VERSION.should === version
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ninjs-0.14.1 spec/ninjs_spec.rb
ninjs-0.14.0 spec/ninjs_spec.rb
ninjs-0.13.8 spec/ninjs_spec.rb