Method: Spec::Example::ExampleMethods#full_description

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

#full_descriptionObject

Concats the class description with the example description.

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

full_description
=> "Account should start with a balance of 0"


33
34
35
# File 'lib/spec/example/example_methods.rb', line 33

def full_description
  "#{self.class.description} #{self.description}"
end