Sha256: ec1553c8964372231bd21c407445f28d6e32e3d95732445863ae9349a050a72f

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

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

require 'rspec'
require 'rails_best_practices'

RSpec.configure do |config|
  config.after do
    RailsBestPractices::Prepares.clear
  end
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
end

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
rails_best_practices-gorgeouscode-1.0.0 spec/spec_helper.rb
rails_best_practices-1.9.1 spec/spec_helper.rb