Sha256: 19b984e47d63e3560d8dce48bb32755f83f0c24bb7f2a7052c8bb23b7d7a61a3

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

RSpec.describe "deprecations" do
  it "has the deprecation_horizon as the next major release" do
    allow(Money).to receive(:const_get).with('VERSION').and_return("2.1.0")
    expect(Money.active_support_deprecator.deprecation_horizon).to eq("3.0.0")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shopify-money-2.2.2 spec/deprecations_spec.rb
shopify-money-2.2.1 spec/deprecations_spec.rb
shopify-money-2.2.0 spec/deprecations_spec.rb