Sha256: 9bc76859d5e2a740224fd5bee39b1b7e4e1fb9c7fe65e5370e71b1544e451fc9

Contents?: true

Size: 404 Bytes

Versions: 6

Compression:

Stored size: 404 Bytes

Contents

load File.dirname(__FILE__) + '/spec_helper.rb'

PATHS_SPEC_PATH = File.expand_path( File.dirname(__FILE__) )

describe 'when creating tasks' do

  before( :each ) do
    Rake::Task.clear
  end

  it 'remembers the Rakefile path' do
    builder = Rake::Builder.new do |builder|
      builder.source_search_paths = [ 'cpp_project' ]
    end
    builder.rakefile_path.should == PATHS_SPEC_PATH
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rake-builder-0.7.0 spec/paths_spec.rb
rake-builder-0.0.19 spec/paths_spec.rb
rake-builder-0.0.18 spec/paths_spec.rb
rake-builder-0.0.17 spec/paths_spec.rb
rake-builder-0.0.16 spec/paths_spec.rb
rake-builder-0.0.15 spec/paths_spec.rb