Sha256: f117f8500b41f955135cbe64fa6118f8bd4a8117128b54f3d38ad4eb9542a6d5
Contents?: true
Size: 339 Bytes
Versions: 1
Compression:
Stored size: 339 Bytes
Contents
require 'spec_helper' module KnowledgeBase::Sectionables::Attachments describe List do subject { described_class.new id: 2, title: "List" } describe "#to_s" do it "is a combination of the name of the list, the ID and the title" do expect(subject.to_s).to eq "Attachment list #2: List" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
knowledge_base-0.2.0 | spec/models/knowledge_base/sectionables/attachments/list_spec.rb |