summaryrefslogtreecommitdiff
path: root/lib/rb/spec/http_client_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rb/spec/http_client_spec.rb')
-rw-r--r--lib/rb/spec/http_client_spec.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/rb/spec/http_client_spec.rb b/lib/rb/spec/http_client_spec.rb
index 30561ab58..b5962793a 100644
--- a/lib/rb/spec/http_client_spec.rb
+++ b/lib/rb/spec/http_client_spec.rb
@@ -17,14 +17,13 @@
# under the License.
#
-require File.expand_path("#{File.dirname(__FILE__)}/spec_helper")
+require 'spec_helper'
-class ThriftHTTPClientTransportSpec < Spec::ExampleGroup
- include Thrift
+describe 'Thrift::HTTPClientTransport' do
- describe HTTPClientTransport do
+ describe Thrift::HTTPClientTransport do
before(:each) do
- @client = HTTPClientTransport.new("http://my.domain.com/path/to/service?param=value")
+ @client = Thrift::HTTPClientTransport.new("http://my.domain.com/path/to/service?param=value")
end
it "should always be open" do