Sha256: 5b431f64d8ea0a07421026eeec7ab146780c9e0dc57746be1a21144ff32b3c2b
Contents?: true
Size: 434 Bytes
Versions: 5
Compression:
Stored size: 434 Bytes
Contents
require 'helper' describe Plucky::Normalizers::OptionsHashKey do subject { described_class.new } it "changes order to sort" do subject.call(:order).should eq(:sort) end it "changes select to fields" do subject.call(:select).should eq(:fields) end it "changes offset to skip" do subject.call(:offset).should eq(:skip) end it "changes id to _id" do subject.call(:id).should eq(:_id) end end
Version data entries
5 entries across 5 versions & 1 rubygems