Sha256: 983ef0b03c1bc799732e2f0f3c7a4ad32ecc21976c95cfdcde9092e79ee693d3

Contents?: true

Size: 737 Bytes

Versions: 1

Compression:

Stored size: 737 Bytes

Contents

require 'test_helper'

module Vedeu

  module Geometry

    describe Alignment do

      let(:described) { Vedeu::Geometry::Alignment }
      let(:instance)  { described.new(_value) }
      let(:_value)    {}

      describe '#initialize' do
        it { instance.must_be_instance_of(described) }
        it { instance.instance_variable_get('@value').must_equal(_value) }
      end

      describe '.align' do
        subject { described.align(_value) }

        it { proc { subject }.must_raise(Vedeu::Error::NotImplemented) }
      end

      describe '#align' do
        subject { instance.align }

        it { proc { subject }.must_raise(Vedeu::Error::NotImplemented) }
      end

    end # Alignment

  end # Geometry

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.6.36 test/lib/vedeu/geometry/alignment_test.rb