apache-config-generator/spec/apache/rake/support_spec.rb
2011-09-27 15:30:38 -04:00

23 lines
484 B
Ruby

require 'spec_helper'
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