Method: Spec::Example::ExampleMethods#description

Defined in:
lib/spec/example/example_methods.rb

#descriptionObject

Declared description for this example:

describe  do
  it "should start with a balance of 0" do
  ...

description
=> "should start with a balance of 0"


21
22
23
# File 'lib/spec/example/example_methods.rb', line 21

def description
  @_defined_description || ::Spec::Matchers.generated_description || "NO NAME"
end