spec/integration/swaggard_spec.rb in swaggard-0.5.4 vs spec/integration/swaggard_spec.rb in swaggard-1.0.0
- old
+ new
@@ -1,11 +1,10 @@
require 'spec_helper'
require 'json-schema'
describe Swaggard, '.get_doc' do
-
let(:controller_path) { File.expand_path('../../fixtures/dummy/app/controllers/**/*.rb', __FILE__) }
let(:api_json) { File.read(File.expand_path('../../fixtures/api.json', __FILE__)) }
let(:host) { 'localhost:3000' }
@@ -17,7 +16,6 @@
swagger_json = JSON.dump(Swaggard.get_doc(host))
expect(swagger_json).to eq(api_json)
end
-
end