diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-03-21 16:50:35 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-03-21 16:50:35 -0400 |
commit | 681277e53bf084195eab437b3006043bbd40ef4d (patch) | |
tree | a8626ef50c72e417e86a2f3c96d48ce72d21abe2 /actionpack/test/controller/parameters | |
parent | 843345cae59b73e50af685ac1303a419a06b4c91 (diff) | |
download | rails-681277e53bf084195eab437b3006043bbd40ef4d.tar.gz rails-681277e53bf084195eab437b3006043bbd40ef4d.tar.bz2 rails-681277e53bf084195eab437b3006043bbd40ef4d.zip |
Fix test that was asserting the wrong thing
Diffstat (limited to 'actionpack/test/controller/parameters')
-rw-r--r-- | actionpack/test/controller/parameters/accessors_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/parameters/accessors_test.rb b/actionpack/test/controller/parameters/accessors_test.rb index f17e93a431..7725c25e22 100644 --- a/actionpack/test/controller/parameters/accessors_test.rb +++ b/actionpack/test/controller/parameters/accessors_test.rb @@ -99,7 +99,7 @@ class ParametersAccessorsTest < ActiveSupport::TestCase test "has_value? returns false if the given value is not present in the params" do params = ActionController::Parameters.new(city: "Chicago", state: "Illinois") - refute @params.has_value?("New York") + refute params.has_value?("New York") end test "include? returns true if the given key is present in the params" do |