Sha256: 19708a1cf135418d1a43b24725b940ea66cf6cef08e948bd38437200be8f1ced

Contents?: true

Size: 513 Bytes

Versions: 1

Compression:

Stored size: 513 Bytes

Contents

require 'spec_helper'
require 'apache/rake/support'

describe Apache::Rake::Support do
  include Apache::Rake::Support

  let(:source) { '/source' }
  let(:destination) { '/destination/available' }

  describe 'config_paths!' do
    before {
      @config = {
        :source => 'cats',
        :destination => 'dogs'
      }
    }

    subject { config_paths!; @config }

    its([:source_path]) { should == File.expand_path('cats') }
    its([:destination_path]) { should == File.expand_path('dogs') }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apache-config-generator-0.2.7 spec/apache/rake/support_spec.rb