We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59aebbf commit 6ccf83aCopy full SHA for 6ccf83a
spec/requests/docs_spec.rb
@@ -1,16 +1,16 @@
1
require 'rails_helper'
2
3
-RSpec.describe "Docs", type: :request do
4
- describe "GET /docs" do
5
- it "show @docs" do
+RSpec.describe 'Docs', type: :request do
+ describe 'GET /docs' do
+ it 'show @docs' do
6
get docs_path
7
expect(response.body).to include(Document.all.last.title)
8
end
9
10
11
- describe "GET /docs/:id" do
12
- it "show @content" do
13
- param = 'charter'
+ describe 'GET /docs/:id' do
+ it 'show @content' do
+ param = 'charter'
14
get doc_path(param)
15
doc = Document.new(param)
16
expected = Kramdown::Document.new(doc.content, input: 'GFM').to_html
0 commit comments