Sha256: d4ce8ea430e8470e668433fc66d7c1b8c5c9fef1cd73009af5bc3d09209758f6
Contents?: true
Size: 400 Bytes
Versions: 5
Compression:
Stored size: 400 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Operation::Order::DirectionSet, '#hash' do subject { object.hash } let(:attribute) { Attribute::Integer.new(:id) } let(:directions) { [ attribute.asc ] } let(:object) { described_class.new(directions) } it_should_behave_like 'a hash method' it { should == described_class.hash ^ directions.hash } end
Version data entries
5 entries across 5 versions & 2 rubygems