Sha256: a4e7fe648de0087c7e4318f4f0ccf42b0ecb20706cfd7c9005e1c05428a1adb7

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

require 'mutant'
require 'devtools'
Devtools.init_spec_helper

$: << File.join(TestApp.root,'lib')

require 'test_app'

module ParserHelper
  def generate(node)
    Unparser.unparse(node)
  end

  def parse(string)
    Parser::CurrentRuby.parse(string)
  end
end

RSpec.configure do |config|
  config.include(CompressHelper)
  config.include(ParserHelper)
  config.include(Mutant::NodeHelpers)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mutant-0.3.0.beta4 spec/spec_helper.rb
mutant-0.3.0.beta3 spec/spec_helper.rb
mutant-0.3.0.beta2 spec/spec_helper.rb