Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
brickgao committed Aug 7, 2016
1 parent 307e780 commit 565075b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/controllers/messages_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ def setup
session[:user_id] = @from.id
end

test "should get new" do
get :new, { :to_id => @to.id }
assert_response :success
end

test "should get unsuccessfully without to_id" do
get :new
assert_response :redirect
Expand Down

0 comments on commit 565075b

Please sign in to comment.