Sha256: dbdc5a7f7c98aa81837eef6bb4a64afbd2282c1e4b9d1aa7abfe69cf2ca3a87f
Contents?: true
Size: 302 Bytes
Versions: 8
Compression:
Stored size: 302 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 expect(CustomSerializer.serializable_filters).to eq([:a, :c]) end end
Version data entries
8 entries across 8 versions & 1 rubygems