static public Method

IntegrationTest.new(name)

Work around a bug in test/unit caused by the default test being named as a symbol (:default_test), which causes regex test filters (like "ruby test.rb -n /foo/") to fail because =~ doesn’t work on symbols.

Source Code

# File action_controller/integration.rb, line 538
def initialize(name) #:nodoc:
  super(name.to_s)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.