Sha256: d434c2ad3fa6f33771d280c72adec76eee7b762a2abd8637cdf892190ee5476a

Contents?: true

Size: 306 Bytes

Versions: 4

Compression:

Stored size: 306 Bytes

Contents

require 'spec_helper'

describe SpecialPostPresenter do
  it 'has special collection' do
    expect(SpecialPostPresenter::Collection).to be SpecialPostsPresenter
  end

  it 'collection knows about presenter' do
    expect(SpecialPostsPresenter.send(:presenter_class)).to be SpecialPostPresenter
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
strong_presenter-0.2.2 spec/dummy/spec/presenters/special_post_presenter_spec.rb
strong_presenter-0.2.1 spec/dummy/spec/presenters/special_post_presenter_spec.rb
strong_presenter-0.2.0 spec/dummy/spec/presenters/special_post_presenter_spec.rb
strong_presenter-0.1.0 spec/dummy/spec/presenters/special_post_presenter_spec.rb