Sha256: da47e3331538378105c908460182969c392046a59e565c5215689031bd7dd177

Contents?: true

Size: 990 Bytes

Versions: 8

Compression:

Stored size: 990 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

8 entries across 8 versions & 1 rubygems

Version Path
sharing_tags-0.0.9 spec/spec_helper.rb
sharing_tags-0.0.8 spec/spec_helper.rb
sharing_tags-0.0.7 spec/spec_helper.rb
sharing_tags-0.0.6 spec/spec_helper.rb
sharing_tags-0.0.5 spec/spec_helper.rb
sharing_tags-0.0.4 spec/spec_helper.rb
sharing_tags-0.0.3 spec/spec_helper.rb
sharing_tags-0.0.2 spec/spec_helper.rb