Sha256: e17a430f53f0496afb57c34a384eb1d44fc687dd4d8dec801a6d15eeb7b0fbfc

Contents?: true

Size: 363 Bytes

Versions: 4

Compression:

Stored size: 363 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Relation::Operation::Order::Descending, '#reverse' do
  subject { object.reverse }

  let(:attribute) { Attribute::Integer.new(:id)    }
  let(:object)    { described_class.new(attribute) }

  it { should be_instance_of(Relation::Operation::Order::Ascending) }

  its(:attribute) { should equal(attribute) }
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/relation/operation/order/descending/reverse_spec.rb
veritas-0.0.7 spec/unit/veritas/relation/operation/order/descending/reverse_spec.rb
veritas-0.0.6 spec/unit/veritas/relation/operation/order/descending/reverse_spec.rb
veritas-0.0.5 spec/unit/veritas/relation/operation/order/descending/reverse_spec.rb