Skip to content

Commit 6ccf83a

Browse files
committed
style: クォートスタイルをシングルクォートに統一
RuboCopの推奨に従い、文字列リテラルをダブルクォートから シングルクォートに変更(Rubyコミュニティの標準的なスタイル)
1 parent 59aebbf commit 6ccf83a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/requests/docs_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
require 'rails_helper'
22

3-
RSpec.describe "Docs", type: :request do
4-
describe "GET /docs" do
5-
it "show @docs" do
3+
RSpec.describe 'Docs', type: :request do
4+
describe 'GET /docs' do
5+
it 'show @docs' do
66
get docs_path
77
expect(response.body).to include(Document.all.last.title)
88
end
99
end
1010

11-
describe "GET /docs/:id" do
12-
it "show @content" do
13-
param = 'charter'
11+
describe 'GET /docs/:id' do
12+
it 'show @content' do
13+
param = 'charter'
1414
get doc_path(param)
1515
doc = Document.new(param)
1616
expected = Kramdown::Document.new(doc.content, input: 'GFM').to_html

0 commit comments

Comments
 (0)