diff --git a/spec/lib/core_extensions/rack/handler_spec.rb b/spec/lib/core_extensions/rack/handler_spec.rb new file mode 100644 index 00000000..d2fcdd15 --- /dev/null +++ b/spec/lib/core_extensions/rack/handler_spec.rb @@ -0,0 +1,12 @@ +require 'rails_helper' +require "#{Rails.root}/lib/core_extensions/rack/handler" + +RSpec.describe Rack::Handler do + + describe 'default webserver' do + it 'should be puma' do + argument = 'argument' + expect(Rack::Handler.default argument).to eq(Rack::Handler::Puma) + end + end +end \ No newline at end of file