Sha256: 84ebe1915bb20c9af8e2f466e2922327c9470681784288fc3d9cacbfea539bf1
Contents?: true
Size: 913 Bytes
Versions: 2
Compression:
Stored size: 913 Bytes
Contents
require "spec_helper" describe Ninjs do it 'should have a BASE_DIR constant' do Ninjs::BASE_DIR.should_not be_nil end it 'should have the correct BASE_DIR' do Ninjs::BASE_DIR.should === '/Users/dnolan/Development/ninjs' end it 'should have a LIB_DIR constant' do Ninjs::LIB_DIR.should_not be_nil end it 'should have the correct LIB_DIR' do Ninjs::LIB_DIR.should === '/Users/dnolan/Development/ninjs/lib' end it 'should have a ROOT_DIR constant' do Ninjs::ROOT_DIR.should_not be_nil end it 'should have the correct ROOT_DIR' do Ninjs::ROOT_DIR.should === '/Users/dnolan/Development/ninjs/spec' end it 'should have a VERSION constant' do Ninjs::VERSION.should_not be_nil 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ninjs-0.13.6 | spec/ninjs_spec.rb |
ninjs-0.13.5 | spec/ninjs_spec.rb |