aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/test/controller/parameters/accessors_test.rb2
-rw-r--r--actionpack/test/controller/test_case_test.rb2
2 files changed, 2 insertions, 2 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
diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb
index cd0c790b08..3a4307b64b 100644
--- a/actionpack/test/controller/test_case_test.rb
+++ b/actionpack/test/controller/test_case_test.rb
@@ -681,7 +681,7 @@ XML
def test_path_is_kept_after_the_request
get :test_params, params: { id: "foo" }
- assert_equal "foo", @request.path
+ assert_equal "/test_case_test/test/test_params/foo", @request.path
end
def test_path_params_reset_between_request