Created
September 18, 2008 22:48
-
-
Save djwonk/11503 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
# /spec/public/controller/url_spec.rb | |
# round 'bout line 118 | |
it "should match with an object as second arg and preserve content type" do | |
@monkey = Monkey.new | |
@controller.content_type = :xml | |
@controller.url(:monkey, @monkey).should == "/monkeys/45.xml" | |
end | |
# should match with an object as second arg and preserve content type | |
# expected: "/monkeys/45.xml", | |
# got: "/monkeys/45" (using ==) | |
# ./spec/public/controller/url_spec.rb:121 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment