openstreetmap-website/vendor/gems/rspec-1.1.2/lib/spec/example/example_group.rb
2008-01-22 16:39:09 +00:00

16 lines
429 B
Ruby

module Spec
module Example
# The superclass for all regular RSpec examples.
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