Sha256: 84726236b495eaabfce88a640a97783a6414499bda59bfa6338c0bc365d99699

Contents?: true

Size: 991 Bytes

Versions: 9

Compression:

Stored size: 991 Bytes

Contents

Dir.chdir(File.expand_path("../dummy", __FILE__)) { require File.expand_path("config/environment") }

require 'rspec/rails'
require 'pry'
require 'rspec-html-matchers'
require 'ammeter/init'
require 'slim'
require 'rspec/support/spec'

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

if ENV['CODECLIMATE_REPO_TOKEN']
  require 'codeclimate-test-reporter'
  CodeClimate::TestReporter.configuration.git_dir = "."
  CodeClimate::TestReporter.start
end

require 'coveralls'
Coveralls.wear!

RSpec.configure do |config|
  config.include RSpecHtmlMatchers
  config.include GeneratorSupport, type: :generator

  config.filter_run :focus
  config.run_all_when_everything_filtered = true

  # config.profile_examples = 10
  config.order = :random
  Kernel.srand config.seed

  config.expect_with :rspec do |expectations|
    expectations.syntax = :expect
  end

  config.mock_with :rspec do |mocks|
    mocks.syntax = :expect
    mocks.verify_partial_doubles = true
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sharing_tags-0.0.18 spec/spec_helper.rb
sharing_tags-0.0.17 spec/spec_helper.rb
sharing_tags-0.0.16 spec/spec_helper.rb
sharing_tags-0.0.15 spec/spec_helper.rb
sharing_tags-0.0.14 spec/spec_helper.rb
sharing_tags-0.0.13 spec/spec_helper.rb
sharing_tags-0.0.12 spec/spec_helper.rb
sharing_tags-0.0.11 spec/spec_helper.rb
sharing_tags-0.0.10 spec/spec_helper.rb