Sha256: ede1d8c1ab334ae333fd7aa7293ebb0ed0cc548442f42ea9d142a1d10ae479a8

Contents?: true

Size: 262 Bytes

Versions: 3

Compression:

Stored size: 262 Bytes

Contents

require 'spec_helper'

RSpec.describe Yaks::Serializer::Hal do
  include_context 'plant collection resource'

  subject { Yaks::Primitivize.create.call(described_class.new(resource).serialize) }

  it { should eq(load_json_fixture('hal_plant_collection')) }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yaks-0.4.1 spec/unit/yaks/serializer/hal_spec.rb
yaks-0.4.0 spec/unit/yaks/serializer/hal_spec.rb
yaks-0.4.0.rc1 spec/unit/yaks/serializer/hal_spec.rb