Sha256: 9f069466aa3573031c932af1ae8de9b88969be92aafa0819fa5777acd9226d18

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Adapter::Memory, '#[]=' do
  subject { object[name] = relation }

  include_context 'relation'

  let!(:object) { described_class.new }

  it { should be(relation) }

  it 'wraps the relation in in a relation variable' do
    subject
    expect(object[name]).to eql(Relation::Variable.new(relation))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-memory-adapter-0.0.2 spec/unit/axiom/adapter/memory/element_writer_spec.rb