spec/integration/test_helper_spec.rb in goliath-1.0.4 vs spec/integration/test_helper_spec.rb in goliath-1.0.5
- old
+ new
@@ -9,10 +9,10 @@
it "should log in file if requested" do
with_api(DummyServer, :log_file => "test.log") do |api|
get_request({},err)
end
- File.exist?("test.log").should be_true
+ File.exist?("test.log").should be_truthy
File.unlink("test.log")
end
it "should log on console if requested" do
with_api(DummyServer, {:log_stdout => true }) do |api|