Sha256: 184581e7016fde0f34e6105573fa71d8795937ab904206b98600630b843620ff

Contents?: true

Size: 347 Bytes

Versions: 14

Compression:

Stored size: 347 Bytes

Contents

require 'spec_helper'
module Alf
  describe Relation do
    
    let(:rel){Relation.coerce([
      {:sid => 'S1'},
      {:sid => 'S2'},
      {:sid => 'S3'}
    ])}
    
    describe "inspect" do
      
      it "should allows the litteral round-trip" do
        Kernel.eval(rel.inspect).should == rel
      end

    end # coerce
      
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-relation/relation/test_inspect.rb
alf-core-0.14.0 spec/unit/alf-relation/relation/test_inspect.rb
alf-core-0.13.1 spec/unit/alf-relation/relation/test_inspect.rb
alf-core-0.13.0 spec/unit/alf-relation/relation/test_inspect.rb
alf-0.12.2 spec/unit/alf-core/relation/test_inspect.rb
alf-0.12.1 spec/unit/alf-core/relation/test_inspect.rb
alf-0.12.0 spec/unit/alf-core/relation/test_inspect.rb
alf-0.11.1 spec/unit/alf-core/relation/test_inspect.rb
alf-0.11.0 spec/unit/alf-core/relation/test_inspect.rb
alf-0.10.1 spec/unit/relation/test_inspect.rb
alf-0.10.0 spec/unit/relation/test_inspect.rb
alf-0.9.3 spec/unit/relation/test_inspect.rb
alf-0.9.2 spec/unit/relation/test_inspect.rb
alf-0.9.1 spec/unit/relation/test_inspect.rb