Sha256: 8dcf98ce0273f201d946156885365c9be75d7452bd80db204cda393c3fbf8a5d
Contents?: true
Size: 297 Bytes
Versions: 40
Compression:
Stored size: 297 Bytes
Contents
require 'spec_helper' describe RestPack::Serializer::Filterable do class CustomSerializer include RestPack::Serializer attributes :a, :b, :c can_filter_by :a, :c end it "captures the specified filters" do CustomSerializer.serializable_filters.should == [:a, :c] end end
Version data entries
40 entries across 40 versions & 1 rubygems