Skip to content

Commit 9d62582

Browse files
committed
Add test for unprocessable entity
1 parent db06f07 commit 9d62582

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration/users_signup_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def setup
1414
password: "foo",
1515
password_confirmation: "bar" } }
1616
end
17+
assert_response :unprocessable_entity
1718
assert_template 'users/new'
1819
assert_select 'div#error_explanation'
1920
assert_select 'div.field_with_errors'

0 commit comments

Comments
 (0)