Skip to content

Commit

Permalink
fix incorrect spec
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Sep 11, 2014
1 parent 16c61f1 commit aa21969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/posts_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@

it "can't find deleted posts as an anonymous user" do
xhr :get, action, params
response.should be_forbidden
response.status.should == 404
end

it "can't find deleted posts as a regular user" do
log_in(:user)
xhr :get, action, params
response.should be_forbidden
response.status.should == 404
end

it "can find posts as a moderator" do
Expand Down

0 comments on commit aa21969

Please sign in to comment.