<commit_before>ENV['RAILS_ENV'] ||= 'test'

if ENV['TRAVIS']
  require 'coveralls'
  Coveralls.wear!
end

require_relative 'dummy/config/environment'

require 'rspec/rails'
require 'rspec/autorun'
require 'factory_girl_rails'
require 'capybara/rails'
require 'ffaker'

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods
  config.use_transactional_fixtures = true
end

Dir[File.expand_path('../matchers/**/*.rb', __FILE__)].each { |file| require file }<commit_msg>Create support directory with shared examples<commit_after>ENV['RAILS_ENV'] ||= 'test'

if ENV['TRAVIS']
  require 'coveralls'
  Coveralls.wear!
end

require_relative 'dummy/config/environment'

require 'rspec/rails'
require 'rspec/autorun'
require 'factory_girl_rails'
require 'capybara/rails'
require 'ffaker'

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods
  config.use_transactional_fixtures = true
end

['../matchers/**/*.rb', '../support/**/*.rb'].each do |path|
  Dir[File.expand_path(path, __FILE__)].each { |file| require file }
end
{'fraction_non_alphanumeric': 0.14705882352941177, 'fraction_numerical': 0.0, 'mean_word_length': 5.940789473684211, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '454212', 'n_tokens_mistral': 367, 'n_tokens_neox': 360, 'n_words': 76}