Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.1.6
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.329 kb
require 'test_helper'
require 'action_controller/parameters'
class ParametersRequireTest < ActiveSupport::TestCase
test "required parameters must be present not merely not nil" do
assert_raises(ActionController::ParameterMissing) do
ActionController::Parameters.new(:person => {}).require(:person)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.