Sha256: aab8d315565a1db1f4fc80cda8d3ae1a45d890cb26fa53d9b8f3b280ddd3ad8d

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Relation::Operation::Order::Ascending, '#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::Descending) }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-0.1.1 spec/unit/axiom/relation/operation/order/ascending/reverse_spec.rb