Sha256: 2519adf11917058d0addeca2f3c0909da2889b4e91d8b26cc45b4f86cf6ff6c8

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 Bytes

Contents

module Spec

  module Example

    class ExampleGroupFactory

      def self.register_example_group klass
        Spec::Runner.options.add_example_group klass
      end

      def self.create_example_group(group_name, &block)
        puts "creating example group"
        puts block
        puts self
        ExampleGroup.describe group_name, &block
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opal-0.3.2 gems/ospec/lib/ospec/example/example_group_factory.rb
opal-0.3.1 gems/ospec/lib/ospec/example/example_group_factory.rb
opal-0.3.0 gems/ospec/lib/ospec/example/example_group_factory.rb