Created
May 18, 2012 01:47
-
-
Save richo/2722650 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path("../../test_helper", __FILE__) | |
class HelloWorldTest < Test::Unit::TestCase | |
def test_it_says_hello_world | |
expect :get, "/hello", "body goes here", { "X-Someheader" => "value" } do |response| | |
# Assertions about response go here | |
assert_equal response.body, "body goes here" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment