Skip to content

Commit 9c456e3

Browse files
authored
Update JSONExample classname
1 parent 4a67253 commit 9c456e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/writers/json_example_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# -*- coding: utf-8 -*-
22
require '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
@@ -18,7 +18,7 @@
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

0 commit comments

Comments
 (0)