Sha256: 224b502cf6bcfc18395f399091e84a584b6ec4b0ac4a3b0413d69b3388dca542

Contents?: true

Size: 312 Bytes

Versions: 4

Compression:

Stored size: 312 Bytes

Contents

require 'rspec/core'
require 'generator_spec/generator_example_group'

RSpec::configure do |c|
  def c.escaped_path(*parts)
    Regexp.compile(parts.join('[\\\/]') + '[\\\/]')
  end

  c.include GeneratorSpec::GeneratorExampleGroup, :type => :generator, :file_path => c.escaped_path(%w[spec lib generators])
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
generator_spec-0.10.0 lib/generator_spec.rb
generator_spec-0.9.5 lib/generator_spec.rb
generator_spec-0.9.4 lib/generator_spec.rb
generator_spec-0.9.3 lib/generator_spec.rb