Sha256: 0c7fab72d16e2756481860a908ab504d3d8af4cc67591466a77300c6d030013b

Contents?: true

Size: 775 Bytes

Versions: 4

Compression:

Stored size: 775 Bytes

Contents

if ENV["TRAVIS"]
  require 'simplecov'
  require 'coveralls'
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
    SimpleCov::Formatter::HTMLFormatter,
    Coveralls::SimpleCov::Formatter
  ]
  SimpleCov.start do
    add_group 'Controllers', 'app/controllers'
    add_group 'Lib', 'lib'

    add_filter 'spec'
    add_filter 'vendor'
  end
end

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'active_record'
require 'action_controller'
require 'rails/engine'
require 'ponytail'

require File.expand_path("../dummy/config/environment", __FILE__)
require 'rspec/rails'
require 'capybara/rspec'
Capybara.app = Dummy::Application

app_dir = File.expand_path('../../app', __FILE__)
Dir.glob("#{app_dir}/controllers/**/*.rb").each { |f| require f }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ponytail-0.6.0 spec/spec_helper.rb
ponytail-0.5.0 spec/spec_helper.rb
ponytail-0.4.0 spec/spec_helper.rb
ponytail-0.3.0 spec/spec_helper.rb