Sha256: 32670b45ac2865dab9f2f65dae8737cf208de98b5a4473d90178360951783b33

Contents?: true

Size: 313 Bytes

Versions: 11

Compression:

Stored size: 313 Bytes

Contents

# encoding: utf-8

describe Money::Currency::Heuristics do
  describe "#analyze_string" do
    let(:it) { Money::Currency }

    it "it raises deprecation error" do
      expect{ it.analyze('123') }.to raise_error(StandardError, 'Heuristics deprecated, add `gem "money-heuristics"` to Gemfile')
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
money-6.13.2 spec/currency/heuristics_spec.rb
money-6.13.1 spec/currency/heuristics_spec.rb
money-6.13.0 spec/currency/heuristics_spec.rb
money-6.12.0 spec/currency/heuristics_spec.rb
money-6.11.3 spec/currency/heuristics_spec.rb
money-6.11.2 spec/currency/heuristics_spec.rb
money-6.11.1 spec/currency/heuristics_spec.rb
money-6.11.0 spec/currency/heuristics_spec.rb
money-6.10.1 spec/currency/heuristics_spec.rb
money-6.10.0 spec/currency/heuristics_spec.rb
money-6.9.0 spec/currency/heuristics_spec.rb