Created
November 13, 2008 00:12
-
-
Save lastobelus/24318 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
describe SageUsers, "(xml)" do | |
it "should not provide reset_password for xml" do | |
lambda { request('/reset_password/xxxyyy', :format => 'xml', :method => 'GET')}. | |
should raise_error(Merb::ControllerExceptions::NotAcceptable) | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment