Sha256: 9638ab4ab15224c6861d5d845e060d01dfec4ab42fde6c09987e04669b0054fc

Contents?: true

Size: 643 Bytes

Versions: 68

Compression:

Stored size: 643 Bytes

Contents

require 'albacore/paths'
require 'albacore/rake_overrides'

describe 'when overriding rake' do
  it 'has string return value by default' do
    ::Rake.old_original_dir.should be_an_instance_of String
  end

  it 'should override Rake#original_dir so that includes separator chars' do
    # assume we never test from root of file system:
    ::Rake.original_dir.should include(Paths.separator)
  end

  it 'should have #original_dir_path' do
    ::Rake.should respond_to(:original_dir_path)
  end

  it 'should have #original_dir_path().to_s include the separator' do
    ::Rake.original_dir_path.to_s.should include(Paths.separator)
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
albacore-2.4.2 spec/rake_overrides_spec.rb
albacore-2.4.1 spec/rake_overrides_spec.rb
albacore-2.4.0 spec/rake_overrides_spec.rb
albacore-2.3.22 spec/rake_overrides_spec.rb
albacore-2.3.21 spec/rake_overrides_spec.rb
albacore-2.3.20 spec/rake_overrides_spec.rb
albacore-2.3.19 spec/rake_overrides_spec.rb
albacore-2.3.18 spec/rake_overrides_spec.rb
albacore-2.3.17 spec/rake_overrides_spec.rb
albacore-2.3.16 spec/rake_overrides_spec.rb
albacore-2.3.15 spec/rake_overrides_spec.rb
albacore-2.3.14 spec/rake_overrides_spec.rb
albacore-2.3.13 spec/rake_overrides_spec.rb
albacore-2.3.12 spec/rake_overrides_spec.rb
albacore-2.3.11 spec/rake_overrides_spec.rb
albacore-2.3.10 spec/rake_overrides_spec.rb
albacore-2.3.9 spec/rake_overrides_spec.rb
albacore-2.3.8 spec/rake_overrides_spec.rb
albacore-2.3.7 spec/rake_overrides_spec.rb
albacore-2.3.6 spec/rake_overrides_spec.rb