Sha256: a85e996948191e491c548da9e5fdf5b482420b28effedd81023270f17a96a457
Contents?: true
Size: 563 Bytes
Versions: 11
Compression:
Stored size: 563 Bytes
Contents
# # Creates the full description for an example group # module Pact module Consumer module RSpec class FullExampleDescription def initialize example @example = example end def parent_group_descriptions @example.example.example_group.parent_groups.collect(&:description).reverse end def example_description @example.example.description end def to_s (parent_group_descriptions + [example_description]).join(" ") end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems