Sha256: 27819a0c9cbca682becdbeb5de800e6df1fa5260053c7e0eea2529c413ca72c4

Contents?: true

Size: 791 Bytes

Versions: 19

Compression:

Stored size: 791 Bytes

Contents

# Copyright:: (c) Autotelik Media Ltd 2011
# Author ::   Tom Statter
# Date ::     Oct 2011
# License::   MIT
#
# Details::   Specs for high level apsects of DataShift library
#
require File.dirname(__FILE__) + '/spec_helper'

describe 'DataShift' do

  before(:each) do
  end
  
  it "should provide gem version" do
    DataShift::gem_version
  end

  it "should provide gem name" do
    DataShift::gem_name.should == 'datashift'
  end
  
  it "should provide root_path" do
    DataShift.root_path.should_not be_empty
  end

  it "should provide a log" do
    class Blah
      include DataShift::Logging
      
      def try_me
        logger.info "hello datashift spec"
      end
    end
    
    
    b = Blah.new()
    
    b.logger.info "try me"
    
    b.try_me
    
    
  end
  
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
datashift-0.15.0 spec/datashift_spec.rb
datashift-0.14.0 spec/datashift_spec.rb
datashift-0.13.0 spec/datashift_spec.rb
datashift-0.12.1 spec/datashift_spec.rb
datashift-0.12.0 spec/datashift_spec.rb
datashift-0.11.1 spec/datashift_spec.rb
datashift-0.11.0 spec/datashift_spec.rb
datashift-0.10.2 spec/datashift_spec.rb
datashift-0.10.1 spec/datashift_spec.rb
datashift-0.10.0 spec/datashift_spec.rb
datashift-0.9.0 spec/datashift_spec.rb
datashift-0.8.0 spec/datashift_spec.rb
datashift-0.7.0 spec/datashift_spec.rb
datashift-0.6.1 spec/datashift_spec.rb
datashift-0.6.0 spec/datashift_spec.rb
datashift-0.5.0 spec/datashift_spec.rb
datashift-0.4.3 spec/datashift_spec.rb
datashift-0.4.2 spec/datashift_spec.rb
datashift-0.4.0 spec/datashift_spec.rb