Skip to content

Commit 06bb80e

Browse files
Rename pg to paragraph in text (deprecated name)
1 parent 2231de3 commit 06bb80e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/usage/components/details_summary_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ def response
99
# basic
1010
details do
1111
summary text: 'Hello'
12-
pg text: 'World!'
12+
paragraph text: 'World!'
1313
end
1414

1515
# without summary
16-
1716
details id: 'foo' do
1817
plain "Hello World!"
1918
end
19+
2020
# enhanced
2121
details id: 'detail_id', class: 'detail_class' do
2222
summary id: 'summary_id', class: 'summary_class', text: 'Hello'
23-
pg text: 'World!'
23+
paragraph text: 'World!'
2424
end
2525
}
2626
end

0 commit comments

Comments
 (0)