Sha256: 0b65fddc3832f052e246ebbcfc0478b61eb8962ebd68b1d7621730ce48d0d1d7

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Attribute, '#call' do
  subject { object.call(tuple) }

  let(:described_class) { Class.new(Attribute)             }
  let(:object)          { described_class.new(:name)       }
  let(:header)          { Relation::Header.new([ object ]) }
  let(:tuple)           { Tuple.new(header, [ 1 ])         }

  it { should == 1 }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/attribute/call_spec.rb