static public Method

NonInferrableControllerError.new(name)

There's no documentation for this item.

Source Code

# File action_controller/test_case.rb, line 5
def initialize(name)
  @name = name
  super "Unable to determine the controller to test from #{name}. " +
    "You'll need to specify it using 'tests YourController' in your " +
    "test case definition. This could mean that #{inferred_controller_name} does not exist " +
    "or it contains syntax errors"
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.