Sha256: 4398e91a7350d20dcfb7f9fb99416f0fffcc69808a17db1b4664291793d4fa93

Contents?: true

Size: 252 Bytes

Versions: 5

Compression:

Stored size: 252 Bytes

Contents

require 'test_helpers'
describe Alf::Algebra::Unwrap, "on json content" do

  it 'works as expected' do
    Alf.connect(Path.dir) do |conn|
      rel = conn.relvar{ unwrap(wrapped, :wrapped) }.to_a
      rel.should eq([{sid: "S1"}])
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-0.16.3 spec/operators/unwrap/test_on_json_content.rb
alf-0.16.2 spec/operators/unwrap/test_on_json_content.rb
alf-0.16.1 spec/operators/unwrap/test_on_json_content.rb
alf-0.16.0 spec/operators/unwrap/test_on_json_content.rb
alf-0.15.0 spec/operators/unwrap/test_on_json_content.rb