Sha256: 3e7f7db13f5a11ca4aa25151effd1538645a7ddbec0e726d2e90b7c5c4d073b6

Contents?: true

Size: 444 Bytes

Versions: 2

Compression:

Stored size: 444 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
  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 & 1 rubygems

Version Path
rails_best_practices-1.4.0 spec/spec_helper.rb
rails_best_practices-1.3.0 spec/spec_helper.rb