aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2014-03-11 16:30:00 +0100
committerLukasz Strzalkowski <lukaszstrzalkowski@squareup.com>2014-03-13 17:53:11 +0100
commitf72feae9bafbadfd4da4e383bb302afc33c7d3e0 (patch)
treed5642ffe22b53c1345c240b8a44bf1c24ddfd3b9 /actionpack/test
parent025c691536b22cc3f0ba802f6c303dd6f955c1c3 (diff)
downloadrails-f72feae9bafbadfd4da4e383bb302afc33c7d3e0.tar.gz
rails-f72feae9bafbadfd4da4e383bb302afc33c7d3e0.tar.bz2
rails-f72feae9bafbadfd4da4e383bb302afc33c7d3e0.zip
Don't pass variant in params, it's ignored
We're setting variant above, in request object directly
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/caching_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb
index 0ba8045cb5..9923b90bae 100644
--- a/actionpack/test/controller/caching_test.rb
+++ b/actionpack/test/controller/caching_test.rb
@@ -253,7 +253,7 @@ CACHED
def test_fragment_caching_with_variant
@request.variant = :phone
- get :formatted_fragment_cached_with_variant, :format => "html", :variant => :phone
+ get :formatted_fragment_cached_with_variant, :format => "html"
assert_response :success
expected_body = "<body>\n<p>PHONE</p>\n</body>\n"