test/loader_test.rb in boson-0.3.0 vs test/loader_test.rb in boson-0.3.1
- old
+ new
@@ -187,10 +187,10 @@
library('dude').module.should == nil
command_exists?("dude")
end
it "prints error when nonexistent" do
- capture_stderr { load('blah') }.should =~ /Unable.*load/
+ capture_stderr { load('blah') }.should =~ /Library blah did not/
end
it "with invalid module prints error" do
with_config(:libraries=>{"coolio"=>{:module=>"Cool"}}) do
capture_stderr {