Sha256: 09bc6928aee688cf995aca866e8d8cee3b0546bc2223c38e83a27ad28ce1ae61
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
require "spec_helper" describe "The Page Document Type" do let(:page) { Brief.page_document.model_class } let(:concept) { Brief::Concept } it "should return the example because there's no prompt defined" do expect(page.writing_prompt).to eq page.example_body end it "should return whatever is defined in the prompt dsl" do expect(concept.writing_prompt).to eq "asdf" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brief-1.12.0 | spec/lib/brief/models/writing_prompt_spec.rb |