Sha256: c54f9fe26164435dc4f7d539c3eca8cd87db2172b82b3fa24953360bc4c6841d

Contents?: true

Size: 233 Bytes

Versions: 4

Compression:

Stored size: 233 Bytes

Contents

require 'spec_helper'

describe Draper::ModelSupport do
  subject { Product.new }

  describe '#decorator' do
    its(:decorator) { should be_kind_of(ProductDecorator) }
    its(:decorator) { should be(subject.decorator) }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
draper-0.7.3 spec/draper/model_support_spec.rb
draper-0.7.2 spec/draper/model_support_spec.rb
draper-0.7.1 spec/draper/model_support_spec.rb
draper-0.7.0 spec/draper/model_support_spec.rb