Skip to content

Commit

Permalink
Move webrick dependencies to test helper
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkyMarkMcDonald committed Apr 5, 2018
1 parent d7cfdad commit 1045c88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/links_on_a_page_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require "test_helper"
require "webrick/httpserver"
require "static_server"

class LinksOnAPageTest < Minitest::Test
Expand Down
2 changes: 2 additions & 0 deletions test/static_server.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "webrick/httpserver"

module StaticServer
def self.start(directory, port)
server = WEBrick::HTTPServer.new(
Expand Down

0 comments on commit 1045c88

Please sign in to comment.