diff --git a/lib/remote_http_testing.rb b/lib/remote_http_testing.rb index 4092d43..c75f0c0 100644 --- a/lib/remote_http_testing.rb +++ b/lib/remote_http_testing.rb @@ -143,4 +143,8 @@ def adjust_response_encoding(response) end response end + + def assert_block(msg = nil) + assert yield, msg + end end diff --git a/lib/remote_http_testing/version.rb b/lib/remote_http_testing/version.rb index 7902c1a..02a441c 100644 --- a/lib/remote_http_testing/version.rb +++ b/lib/remote_http_testing/version.rb @@ -1,3 +1,3 @@ module RemoteHttpTesting - VERSION = "0.1.4" + VERSION = "0.1.5" end