spec/config_spec.rb in sequenceserver-1.1.0.beta12 vs spec/config_spec.rb in sequenceserver-2.0.0.beta1
- old
+ new
@@ -3,10 +3,10 @@
# Test Config class.
module SequenceServer
describe 'Config' do
let 'sample_config_file' do
- File.join(SequenceServer.root, 'spec', 'sample.conf')
+ File.join(__dir__, 'sample.conf')
end
it 'behaves like a Hash' do
config = Config.new