mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 17:20:12 +01:00
17 lines
483 B
Ruby
17 lines
483 B
Ruby
module Spec
|
|
module Example
|
|
# Base class for customized example groups. Use this if you
|
|
# want to make a custom example group.
|
|
class ExampleGroup
|
|
extend Spec::Example::ExampleGroupMethods
|
|
include Spec::Example::ExampleMethods
|
|
|
|
def initialize(defined_description, &implementation)
|
|
@_defined_description = defined_description
|
|
@_implementation = implementation
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
Spec::ExampleGroup = Spec::Example::ExampleGroup
|