Sha256: a0383db3f8113522c2162a989f32c45111b5e14a5c780f659392d5898ffc2ae6
Contents?: true
Size: 315 Bytes
Versions: 21
Compression:
Stored size: 315 Bytes
Contents
require 'spec_helper' describe RestPack::Serializer::Sortable do class CustomSerializer include RestPack::Serializer attributes :a, :b, :c can_sort_by :a, :c end it 'captures the specified sorting attributes' do CustomSerializer.serializable_sorting_attributes.should == [:a, :c] end end
Version data entries
21 entries across 21 versions & 1 rubygems