spec/policies_spec.rb in parametric-0.2.10 vs spec/policies_spec.rb in parametric-0.2.11

- old
+ new

@@ -1,9 +1,9 @@ require 'spec_helper' describe 'default coercions' do def test_coercion(key, value, expected) - coercion = Parametric.registry.coercions[key] + coercion = Parametric.registry.policies[key] expect(coercion.new.coerce(value, nil, nil)).to eq expected end describe ':datetime' do it {