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 a1e173c commit f1d2f20Copy full SHA for f1d2f20
spec/rails/rfc6570/visitor_spec.rb
@@ -20,12 +20,24 @@
20
it { is_expected.to eq %w[/ path / path] }
21
end
22
23
+ describe '/path.:format' do
24
+ let(:path) { '/path.:format' }
25
+
26
+ it { is_expected.to eq %w[/ path . {format}] }
27
+ end
28
29
describe '/:title' do
30
let(:path) { '/:title' }
31
32
it { is_expected.to eq %w[/ {title}] }
33
34
35
+ describe '/:title.html' do
36
+ let(:path) { '/:title.html' }
37
38
+ it { is_expected.to eq %w[/ {title} . html] }
39
40
41
describe '/:title(.:format)' do
42
let(:path) { '/:title(.:format)' }
43
0 commit comments