Sha256: 99efd2f57dcd382b98a5e6bc7af28c3dd49bf950237736e62726f0b6d2a40197
Contents?: true
Size: 843 Bytes
Versions: 5
Compression:
Stored size: 843 Bytes
Contents
# Quantify coverage require "codeclimate-test-reporter" CodeClimate::TestReporter.start # load the library require 'koala' # Support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # set up our testing environment # load testing data and (if needed) create test users or validate real users KoalaTest.setup_test_environment! BEACH_BALL_PATH = File.join(File.dirname(__FILE__), "fixtures", "beach.jpg") RSpec.configure do |config| config.mock_with :rspec do |mocks| # This option should be set when all dependencies are being loaded # before a spec run, as is the case in a typical spec helper. It will # cause any verifying double instantiation for a class that does not # exist to raise, protecting against incorrectly spelt names. mocks.verify_doubled_constant_names = true end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
koala-2.5.0 | spec/spec_helper.rb |
koala-2.5.0rc1 | spec/spec_helper.rb |
koala-2.4.0 | spec/spec_helper.rb |
koala-2.3.0 | spec/spec_helper.rb |
koala-2.3.0rc1 | spec/spec_helper.rb |