Sha256: 57ec818dc52cb61315a64c1455f109f2690462742424bf559afde56f0a92651d

Contents?: true

Size: 393 Bytes

Versions: 3

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Normalizy::Config, 'filters' do
  it 'loads some filters' do
    expect(subject.filters).to eq(
      date:    Normalizy::Filters::Date,
      money:   Normalizy::Filters::Money,
      number:  Normalizy::Filters::Number,
      percent: Normalizy::Filters::Percent,
      strip:   Normalizy::Filters::Strip
    )
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
normalizy-1.0.1 spec/normalizy/config/initialize_spec.rb
normalizy-1.0.0 spec/normalizy/config/initialize_spec.rb
normalizy-0.2.0 spec/normalizy/config/initialize_spec.rb