spec/lib/elasticonf/config_spec.rb in elasticonf-1.1.1 vs spec/lib/elasticonf/config_spec.rb in elasticonf-1.1.2
- old
+ new
@@ -11,11 +11,11 @@
subject.reset_config!
end
its(:env) { should eql('development') }
- its(:config_file) { should eql('config') }
+ its(:config_file) { should eql('settings') }
its(:const_name) { should eql('Settings') }
its(:raise_if_already_initialized_constant) { should be_true }
it 'should raise an error' do
expect { subject.config_root }.to raise_error
@@ -68,10 +68,10 @@
end
end
end
describe '#config_file' do
- its(:config_file) { should eql('config') }
+ its(:config_file) { should eql('settings') }
it 'should return some value' do
expect {
subject.config_file = 'application'
}.to change(subject, :config_file).to('application')
\ No newline at end of file