Skip to content

Commit 64821a8

Browse files
authored
update classname for JSONExample
1 parent 9c456e3 commit 64821a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rspec_api_documentation/writers/json_iodocs_writer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def sections
3232
end
3333

3434
def examples
35-
@index.examples.map { |example| JsonExample.new(example, @configuration) }
35+
@index.examples.map { |example| JSONExample.new(example, @configuration) }
3636
end
3737

3838
def as_json(opts = nil)
@@ -48,7 +48,7 @@ def as_json(opts = nil)
4848
end
4949
end
5050

51-
class JsonExample
51+
class JSONExample
5252
def initialize(example, configuration)
5353
@example = example
5454
end

0 commit comments

Comments
 (0)