Sha256: 17905733a87a4795c5dee442b574f74b7e4ff2c001ed006cc6ef207bd4cccd8b
Contents?: true
Size: 400 Bytes
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.1 | spec/unit/axiom/relation/operation/order/direction_set/hash_spec.rb |