spec/assistly/client_spec.rb in assistly-0.2.5 vs spec/assistly/client_spec.rb in assistly-0.2.6
- old
+ new
@@ -2,9 +2,9 @@
describe Assistly::Client do
it "should connect using the endpoint configuration" do
client = Assistly::Client.new
endpoint = URI.parse(client.api_endpoint)
- connection = client.send(:connection).build_url(nil).to_s
+ connection = client.send(:connection).build_url(" ").to_s.strip
connection.should == endpoint.to_s
end
end