Use RSpec.describe to fix IRB context warning in Rails console

This commit is contained in:
Nathan Broadbent
2018-09-21 17:31:28 +07:00
parent 28245d4dd0
commit e5eb44191c
11 changed files with 17 additions and 17 deletions

View File

@@ -1,9 +1,9 @@
require 'spec_helper'
require 'rake'
describe 'rswag:specs:swaggerize' do
RSpec.describe 'rswag:specs:swaggerize' do
let(:swagger_root) { Rails.root.to_s + '/swagger' }
before do
before do
TestApp::Application.load_tasks
FileUtils.rm_r(swagger_root) if File.exists?(swagger_root)
end