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 1
1
# -*- coding: utf-8 -*-
2
2
require 'spec_helper'
3
3
4
- describe RspecApiDocumentation ::Writers ::JsonExample do
4
+ describe RspecApiDocumentation ::Writers ::JSONExample do
5
5
let ( :configuration ) { RspecApiDocumentation ::Configuration . new }
6
6
7
7
describe "#dirname" do
8
8
it "strips out leading slashes" do
9
9
example = double ( resource_name : "/test_string" )
10
10
11
11
json_example =
12
- RspecApiDocumentation ::Writers ::JsonExample . new ( example , configuration )
12
+ RspecApiDocumentation ::Writers ::JSONExample . new ( example , configuration )
13
13
14
14
expect ( json_example . dirname ) . to eq "test_string"
15
15
end
18
18
example = double ( resource_name : "test_string/test" )
19
19
20
20
json_example =
21
- RspecApiDocumentation ::Writers ::JsonExample . new ( example , configuration )
21
+ RspecApiDocumentation ::Writers ::JSONExample . new ( example , configuration )
22
22
23
23
expect ( json_example . dirname ) . to eq "test_string/test"
24
24
end
You can’t perform that action at this time.
0 commit comments