Sha256: 4afbc09d414f514c6a6de24ccc590152ac729f9f35b9d2925a1f4e078309c7c4

Contents?: true

Size: 318 Bytes

Versions: 7

Compression:

Stored size: 318 Bytes

Contents

require 'spec_helper'
module Alf
  module Sequel
    describe Connection, 'relvar' do

      it "should serve relvars" do
        sap.relvar(:suppliers).should be_a(Alf::Relvar)
      end

      it "should be the correct relation" do
        sap.relvar(:suppliers).value.size.should eq(5)
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alf-sequel-0.16.3 spec/connection/test_relvar.rb
alf-sequel-0.16.2 spec/connection/test_relvar.rb
alf-sequel-0.16.1 spec/connection/test_relvar.rb
alf-sequel-0.16.0 spec/connection/test_relvar.rb
alf-sequel-0.15.0 spec/connection/test_relvar.rb
alf-sequel-0.14.0 spec/connection/test_relvar.rb
alf-sequel-0.13.0 spec/connection/test_relvar.rb