Sha256: b945376d556a83bd7824151f3b2e6baefd6945c95de54e3d5410dc41134e35fe

Contents?: true

Size: 233 Bytes

Versions: 4

Compression:

Stored size: 233 Bytes

Contents

require 'spec_helper'

describe Compositor::Literal do

  let(:context) { Object.new }

  it 'returns the hash its given' do
    actual = { test: 123 }

    Compositor::Literal.new(context, actual).to_hash.should == actual
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
compositor-1.0.1 spec/compositor/literal_spec.rb
compositor-1.0.0 spec/compositor/literal_spec.rb
compositor-0.1.4 spec/compositor/literal_spec.rb
compositor-0.1.3 spec/compositor/literal_spec.rb