Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add two missing asserts in NestedParametersTest #183

Merged
merged 1 commit into from

2 participants

@tiegz

Just noticed these were missing.

@carlosantoniodasilva carlosantoniodasilva merged commit b53893b into rails:master
@carlosantoniodasilva

Thanks.

@tiegz tiegz deleted the tiegz:tiny_test_fix branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 11, 2013
  1. @tiegz
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/parameters_permit_test.rb
View
4 test/parameters_permit_test.rb
@@ -16,8 +16,8 @@ def assert_filtered_out(params, key)
test 'if nothing is permitted, the hash becomes empty' do
params = ActionController::Parameters.new(:id => '1234')
permitted = params.permit
- permitted.permitted?
- permitted.empty?
+ assert permitted.permitted?
+ assert permitted.empty?
end
# --- key --------------------------------------------------------------------
Something went wrong with that request. Please try again.