diff options
-rw-r--r-- | actionpack/test/controller/test_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/test/controller/test_test.rb b/actionpack/test/controller/test_test.rb index d786a05feb..937f9e5a91 100644 --- a/actionpack/test/controller/test_test.rb +++ b/actionpack/test/controller/test_test.rb @@ -67,8 +67,7 @@ HTML end def create - headers['Location'] = 'created resource' - head :created + head :created, :location => 'created resource' end private |