File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22require 'spec_helper'
33
4- describe RspecApiDocumentation ::Writers ::JsonExample do
4+ describe RspecApiDocumentation ::Writers ::JSONExample do
55 let ( :configuration ) { RspecApiDocumentation ::Configuration . new }
66
77 describe "#dirname" do
88 it "strips out leading slashes" do
99 example = double ( resource_name : "/test_string" )
1010
1111 json_example =
12- RspecApiDocumentation ::Writers ::JsonExample . new ( example , configuration )
12+ RspecApiDocumentation ::Writers ::JSONExample . new ( example , configuration )
1313
1414 expect ( json_example . dirname ) . to eq "test_string"
1515 end
1818 example = double ( resource_name : "test_string/test" )
1919
2020 json_example =
21- RspecApiDocumentation ::Writers ::JsonExample . new ( example , configuration )
21+ RspecApiDocumentation ::Writers ::JSONExample . new ( example , configuration )
2222
2323 expect ( json_example . dirname ) . to eq "test_string/test"
2424 end
You can’t perform that action at this time.
0 commit comments