Sha256: 992b7196f1c515f7527aa22b1548efef629da6affc4be9e4a853d15540d1be5b
Contents?: true
Size: 454 Bytes
Versions: 7
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true require "ibandit" require "rspec/its" require "json" RSpec.configure do |config| config.mock_with(:rspec) { |mocks| mocks.verify_partial_doubles = true } config.raise_errors_for_deprecations! config.around do |example| locale = example.metadata.fetch(:locale, :en) I18n.with_locale(locale) { example.run } end end def json_fixture(filename) JSON.parse(File.read("spec/fixtures/#{filename}.json")) end
Version data entries
7 entries across 7 versions & 1 rubygems