Sha256: 97b251d9320220daa50dd6cb6bc87be8ec6e25a9a8d3d5c9a24a000959290554

Contents?: true

Size: 355 Bytes

Versions: 5

Compression:

Stored size: 355 Bytes

Contents

# encoding: UTF-8

module Keynote
  module ExampleGroup
    def self.included(base)
      base.send :include, RSpec::Rails::ViewExampleGroup
      base.metadata[:type] = :presenter
    end
  end
end

RSpec.configure do |config|
  config.include Keynote::ExampleGroup,
    :type => :presenter,
    :example_group => {:file_path => %r/spec.presenters/}
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
keynote-0.1.3 lib/keynote/testing/rspec.rb
keynote-0.1.2 lib/keynote/testing/rspec.rb
keynote-0.1.1 lib/keynote/testing/rspec.rb
keynote-0.1.0 lib/keynote/testing/rspec.rb
keynote-0.0.1 lib/keynote/testing/rspec.rb