Sha256: 70a4ec291cb420653457cd27387f09f26b66d00cc00c7187e82f49a1b9820953

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 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 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/descending/reverse_spec.rb