spec/normalizy/config/add_spec.rb in normalizy-0.1.0 vs spec/normalizy/config/add_spec.rb in normalizy-0.2.0
- old
+ new
@@ -8,10 +8,13 @@
config.add :blacklist, :blacklist_filter
end
expect(Normalizy.config.filters).to eq(
blacklist: :blacklist_filter,
+ date: Normalizy::Filters::Date,
+ money: Normalizy::Filters::Money,
number: Normalizy::Filters::Number,
+ percent: Normalizy::Filters::Percent,
strip: Normalizy::Filters::Strip
)
end
end