Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create test for Rack::Handler module
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Amoêdo <[email protected]>
Signed-off-by: Marcelo Oliveira <[email protected]>
LucasAmoedo committed Apr 18, 2017
1 parent efe688b commit 6dd5076
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/lib/core_extensions/rack/handler_spec.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6dd5076

Please sign in to comment.