From a7e899eb4670fadbf2d519f9fb0fd81b142788e4 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Fri, 16 Mar 2012 11:31:35 -0400 Subject: [PATCH] a few small fixes --- lib/flowerbox/runner/firefox.rb | 2 +- lib/flowerbox/runner/node.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/flowerbox/runner/firefox.rb b/lib/flowerbox/runner/firefox.rb index a86cf3f..bff7786 100644 --- a/lib/flowerbox/runner/firefox.rb +++ b/lib/flowerbox/runner/firefox.rb @@ -8,7 +8,7 @@ class Flowerbox::Runner::Firefox < Flowerbox::Runner::Selenium end def browser - @browser ||= ::Selenium::WebDriver.for(:firefox) + Flowerbox.browsers[:firefox] ||= ::Selenium::WebDriver.for(:firefox) end end diff --git a/lib/flowerbox/runner/node.rb b/lib/flowerbox/runner/node.rb index 99464d0..92f502b 100644 --- a/lib/flowerbox/runner/node.rb +++ b/lib/flowerbox/runner/node.rb @@ -1,5 +1,4 @@ require 'tempfile' -require 'flowerbox/delivery/server' require 'json' module Flowerbox