spec/invoker/power/balancer_spec.rb in invoker-1.1.0 vs spec/invoker/power/balancer_spec.rb in invoker-1.2.0.pre

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' describe Invoker::Power::Balancer do context "matching domain part of incoming request" do before do - @balancer = Invoker::Power::Balancer.new(mock("connection")) + @balancer = Invoker::Power::Balancer.new(mock("connection"), "http") end it "should do foo.dev match" do match = @balancer.extract_host_from_domain("foo.dev") expect(match).to_not be_nil