Sha256: 739758bf64b24dbbe276684c96d66dd97dc698098cd187978ff92e39fbebadba

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 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_kind_of(Relation::Operation::Order::Descending) }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.4 spec/unit/veritas/relation/operation/order/ascending/reverse_spec.rb