Skip to content

Commit 6159b33

Browse files
committed
Fixing class naming which was breaking Travis builds
1 parent 8f87458 commit 6159b33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/api_models_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Something < Grape::Entity
99
end
1010
end
1111

12-
class NotAMountedApi < Grape::API
12+
class ModelsApi < Grape::API
1313
format :json
1414
desc 'This gets something.', {
1515
entity: Entities::Something
@@ -22,7 +22,7 @@ class NotAMountedApi < Grape::API
2222
end
2323
end
2424

25-
def app; NotAMountedApi; end
25+
def app; ModelsApi; end
2626

2727
it "should document specified models" do
2828
get '/swagger_doc'

0 commit comments

Comments
 (0)