Sha256: 740fea3b1d2ff001b44f783c7d6eaa6b387e17820eddc27de8c1f0d89fc6e138

Contents?: true

Size: 360 Bytes

Versions: 2

Compression:

Stored size: 360 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))

require 'rspec/expectations'
require 'rails_best_practices'

RSpec.configure do |config|
  config.after do
    RailsBestPractices::Prepares.clear
  end
end

def parse_content(content)
  Sexp.from_array(Ripper::SexpBuilder.new(content).parse)[1]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_best_practices-1.2.0 spec/spec_helper.rb
rails_best_practices-1.1.0 spec/spec_helper.rb