From 2dab86c43c3a978727c75a7f15cfdb6452440cbd Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sat, 28 Apr 2012 12:40:50 -0300 Subject: Define only writer method for queue, as reader is declared Remove deprecation warning of method redefined. --- railties/test/application/routing_test.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'railties/test/application') diff --git a/railties/test/application/routing_test.rb b/railties/test/application/routing_test.rb index 4560dcec69..977a5fc7e8 100644 --- a/railties/test/application/routing_test.rb +++ b/railties/test/application/routing_test.rb @@ -249,9 +249,7 @@ module ApplicationTests assert_equal 404, last_response.status end end - end - {"development" => "baz", "production" => "bar"}.each do |mode, expected| test "reloads routes when configuration is changed in #{mode}" do controller :foo, <<-RUBY class FooController < ApplicationController -- cgit v1.2.3