diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-18 21:23:07 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-18 21:23:07 +0000 |
commit | c597e7d9ac82a1c393c645fce06f615ed5abba87 (patch) | |
tree | 5528ef8c099504e006be1dc99484832f41e738e1 /actionpack/test | |
parent | fd15359104afbdf86f86a1c1f9b424b855fb3071 (diff) | |
download | rails-c597e7d9ac82a1c393c645fce06f615ed5abba87.tar.gz rails-c597e7d9ac82a1c393c645fce06f615ed5abba87.tar.bz2 rails-c597e7d9ac82a1c393c645fce06f615ed5abba87.zip |
Include location header in args.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-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 |