Sha256: 2b221cf898d3e78f500e375d924c5a34f439881c7635613456f501b24134b23f

Contents?: true

Size: 522 Bytes

Versions: 3

Compression:

Stored size: 522 Bytes

Contents

require "spec_helper"

describe "Viewing a Briefcase Document", :type => :request do
  it "shows the document content" do
    get("/view/content/epics/epic.html.md")
    expect(last_response.status).to eq(200)
  end

  it "shows the rendered version of the document" do
    get("/view/rendered/epics/epic.html.md")
    expect(last_response.status).to eq(200)
  end

  it "shows the rendered version of the document json" do
    get("/view/details/epics/epic.html.md")
    expect(last_response.status).to eq(200)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brief-1.4.4 spec/acceptance/showing_spec.rb
brief-1.4.2 spec/acceptance/showing_spec.rb
brief-1.4.1 spec/acceptance/showing_spec.rb