Skip to content

module Spec::Item

Info that describe, context and it all have in common.

Direct including types

Spec::Example Spec::ExampleGroup

Methods

#description : String

The example or example group's description.

View source

#end_line : Int32

The line where the example or example group ends.

View source

#file : String

The file where the example or example group is defined.

View source

#focus? : Bool

Does this example or example group have focus: true on it?

View source

#line : Int32

The line where the example or example group starts.

View source

#parent : Context

The describe/context that wraps this example or example group.

View source

#tags : Set(String)?

The tags defined on this example or example group

View source