Sha256: 734be79ec1df1ce97d2c30bfc3e544fb12df9bb783b80f7c31221fb9094ccf07
Contents?: true
Size: 525 Bytes
Versions: 36
Compression:
Stored size: 525 Bytes
Contents
require_relative '../../app/presenters/profile_section_presenter' require_relative '../../app/presenters/profile_link_presenter' require_relative '../../app/presenters/theme_presentation' describe ProfileSectionPresenter do describe "#links" do it "wraps each item in the profile link presenter" do stubbed = stub(name: nil, url: nil) section = [stubbed] ProfileSectionPresenter.new(section).links.each do |item| item.wrapped_by.should eq([ProfileLinkPresenter]) end end end end
Version data entries
36 entries across 36 versions & 1 rubygems