require 'table_cloth'
require 'awesome_print'
require 'nokogiri'
require 'factory_girl'
require 'pry'
require 'simplecov'

if ENV["COVERAGE"] == "true"
  SimpleCov.start do
    add_filter "spec/support"
  end
end

Dir['./spec/support/**/*.rb'].each {|f| require f }

FactoryGirl.find_definitions

ActionView::Base.send :include, TableClothViewMocks

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
end
require 'table_cloth'
require 'awesome_print'
require 'nokogiri'
require 'factory_girl'
require 'pry'
require 'simplecov'

if ENV["COVERAGE"] == "true"
  SimpleCov.start do
    add_filter "spec/support"
  end
end

Dir['./spec/support/**/*.rb'].each {|f| require f }

FactoryGirl.find_definitions

ActionView::Base.send :include, TableClothViewMocks

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.include ElementHelpers
end
Include element helpers in spec helper.
Include element helpers in spec helper.
