Sha256: ddecb25e0702de6ec19b4343fe0df52d70c433220234613d667c5878f3cd31a6

Contents?: true

Size: 719 Bytes

Versions: 14

Compression:

Stored size: 719 Bytes

Contents

require "rubygems"
require "bundler"

require "simplecov"
SimpleCov.start do
  add_filter "/spec/"
end

Bundler.require(:default, :development, :test)

require "support/db"
require "support/models"
require "support/protobuf/messages.pb"

# Silence protobuf"s logger
Protobuf::Logging.logger.level = ::Logger::FATAL

RSpec.configure do |config|
  # Turn deprecation warnings into errors with full backtrace.
  config.raise_errors_for_deprecations!

  # Verifies the existance of any stubbed methods, replaces better_receive and better_stub
  # https://www.relishapp.com/rspec/rspec-mocks/v/3-1/docs/verifying-doubles/partial-doubles
  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
protobuf-activerecord-7.0.0 spec/spec_helper.rb
protobuf-activerecord-6.1.0 spec/spec_helper.rb
protobuf-activerecord-6.0.0 spec/spec_helper.rb
protobuf-activerecord-5.2.0 spec/spec_helper.rb
protobuf-activerecord-5.1.0 spec/spec_helper.rb
protobuf-activerecord-5.0.0 spec/spec_helper.rb
protobuf-activerecord-5.1.0.beta spec/spec_helper.rb
protobuf-activerecord-5.0.0.beta spec/spec_helper.rb
protobuf-activerecord-3.6.1 spec/spec_helper.rb
protobuf-activerecord-3.6.0 spec/spec_helper.rb
protobuf-activerecord-3.5.1 spec/spec_helper.rb
protobuf-activerecord-3.5.0 spec/spec_helper.rb
protobuf-activerecord-3.4.4 spec/spec_helper.rb
protobuf-activerecord-3.4.4.pre spec/spec_helper.rb