spec/configliere_spec.rb in configliere-0.4.8 vs spec/configliere_spec.rb in configliere-0.4.10
- old
+ new
@@ -8,8 +8,8 @@
Settings.should_receive(:defaults).with(:foo => :bar)
Settings(:foo => :bar)
end
it 'requires corresponding plugins when you call use' do
- lambda{ Configliere.use(:param, :foo) }.should raise_error(LoadError, 'no such file to load -- configliere/foo')
+ lambda{ Configliere.use(:param, :foo) }.should raise_error(LoadError, /no.*load.*configliere\/foo/)
end
end