Sha256: 884f6d4f1c3915f3c0c194d08d7d2900c7afabd924443d39bbb68fedf4e19c06
Contents?: true
Size: 549 Bytes
Versions: 2
Compression:
Stored size: 549 Bytes
Contents
require 'spec_helper' describe Ferver::Configuration do subject { Ferver::Configuration.new } describe 'configured directory path' do context 'with no path set' do it 'should return default path' do expect(subject.directory_path).to eq(Ferver::DEFAULT_FILE_SERVER_DIR_PATH) end end context 'when directory is set' do let(:path) { '/foo/bar' } it 'should return default path' do subject.directory_path = path expect(subject.directory_path).to eq(path) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ferver-1.2.1 | spec/configuration_spec.rb |
ferver-1.2.0 | spec/configuration_spec.rb |