spec/http/compat/curb_spec.rb in http-0.1.0 vs spec/http/compat/curb_spec.rb in http-0.2.0

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' require 'http/compat/curb' describe Curl do - let(:test_endpoint) { "http://127.0.0.1:#{TEST_SERVER_PORT}/" } + let(:test_endpoint) { "http://127.0.0.1:#{ExampleService::PORT}/" } describe Curl::Easy do it "gets resources" do response = Curl::Easy.http_get test_endpoint response.body_str.should match(/<!doctype html>/) \ No newline at end of file