test/request_controller_test.rb in twurl-0.6.1 vs test/request_controller_test.rb in twurl-0.6.2
- old
+ new
@@ -44,15 +44,15 @@
mock(response).body.times(1) { expected_body }
mock(client).perform_request_from_options(options).times(1) { response }
controller.perform_request
- assert_equal expected_body, Twurl::CLI.output.string.chomp
+ assert_equal expected_body, Twurl::CLI.output.string
end
def test_invalid_or_unspecified_urls_report_error
mock(Twurl::CLI).puts(Twurl::RequestController::NO_URI_MESSAGE).times(1)
mock(client).perform_request_from_options(options).times(1) { raise URI::InvalidURIError }
controller.perform_request
end
-end
\ No newline at end of file
+end