Created
August 25, 2009 19:21
-
-
Save ddollar/174944 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
| context "On DELETE to subscription for a gem that the user is not subscribed to" do | |
| setup do | |
| @gem = Factory(:rubygem) | |
| Factory(:version, :rubygem => @gem) | |
| delete :subscription, :id => @gem.to_param | |
| end | |
| should_assign_to(:gem) { @gem } | |
| should_respond_with 500 | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment