From 197c72a4b31e803a854e79005f9d6b198f35af99 Mon Sep 17 00:00:00 2001 From: ichverstehe Date: Thu, 19 Feb 2009 23:42:58 +0100 Subject: [PATCH] fix readme for testing user agent [#156] --- README.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rdoc b/README.rdoc index 68ab644f..a62a27f3 100644 --- a/README.rdoc +++ b/README.rdoc @@ -420,7 +420,7 @@ and Bacon through separate source files. end def test_with_agent - get '/', :agent => 'Songbird' + get '/', :env => { :agent => 'Songbird' } assert_equal "You're in Songbird!", @response.body end