Sha256: 1dce4f99fba015466270b41e8d77815751a51dd5339d4f44ab38f1a4057aa067

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

# encoding: utf-8

require "transproc/rspec"

describe AbstractMapper::Functions, "#identity" do

  it_behaves_like :transforming_immutable_data do
    let(:arguments) { [:identity] }

    let(:input)  { :foo }
    let(:output) { :foo }
  end

  it_behaves_like :transforming_immutable_data do
    let(:arguments) { [:identity, :bar, :baz] }

    let(:input)  { :foo }
    let(:output) { :foo }
  end

end # describe AbstractMapper::Functions#identity

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
abstract_mapper-0.0.2 spec/unit/abstract_mapper/functions/identity_spec.rb