Modifies generator and specs to look for openapi: 3.0.0 vs swagger 2.0

Renames rswag-api to rswag_api as that is preferred file naming convention in initializers per rubocop linting
This commit is contained in:
Jay Danielian
2019-07-20 12:52:31 -04:00
parent 4baf5efd11
commit eb4e6045c5
8 changed files with 8 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ module Rswag
end
it 'installs the Rails initializer' do
assert_file('config/initializers/rswag-api.rb')
assert_file('config/initializers/rswag_api.rb')
end
# Don't know how to test this