Permalink
Browse files

Set Rack env directly instead of using set :environment

  • Loading branch information...
1 parent 5d92783 commit f7a82dc786d1eba8bdcc0594bca303d254633571 @akahn committed May 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 testing.markdown
View
@@ -43,7 +43,7 @@ properly:
require 'test/unit'
require 'rack/test'
- set :environment, :test
+ ENV['RACK_ENV'] = 'test'
class HelloWorldTest < Test::Unit::TestCase
include Rack::Test::Methods

0 comments on commit f7a82dc

Please sign in to comment.