Sha256: 48fe50accb97ff08a7cbcf49a76ff0e272a50720c21dd2adef5a96d7819ba146

Contents?: true

Size: 434 Bytes

Versions: 6

Compression:

Stored size: 434 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,
      slug:    Normalizy::Filters::Slug,
      strip:   Normalizy::Filters::Strip
    )
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
normalizy-1.5.0 spec/normalizy/config/initialize_spec.rb
normalizy-1.4.0 spec/normalizy/config/initialize_spec.rb
normalizy-1.3.0 spec/normalizy/config/initialize_spec.rb
normalizy-1.2.0 spec/normalizy/config/initialize_spec.rb
normalizy-1.1.1 spec/normalizy/config/initialize_spec.rb
normalizy-1.1.0 spec/normalizy/config/initialize_spec.rb