Sha256: 1986abfefcbb6659edf7cf216d1a959cf3e286df7d3d700893d3526e4eeb7b34

Contents?: true

Size: 315 Bytes

Versions: 1

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.0.0")
    expect(Money.active_support_deprecator.deprecation_horizon).to eq("3.0.0")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shopify-money-2.0.0 spec/deprecations_spec.rb