Sha256: 2e3d917e501a6e3e20824c1518d71f5d997422591945233c72e9267bb4153d1a

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

require 'spec_helper'
module Alf
  module Relvar
    describe ReadOnly, "to_relation" do

      let(:value){ Relation(id: 1)     }
      let(:rv)   { ReadOnly.new(value) }

      subject{ rv.to_relation }

      it 'is as expected' do
        subject.should be(value)
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-relvar/read_only/test_to_relation.rb