test/unit/comment_test.rb in rsift-0.3.1 vs test/unit/comment_test.rb in rsift-0.3.2
- old
+ new
@@ -1,9 +1,9 @@
require "webmock/test_unit"
require "test/unit"
require "shoulda"
-require_relative "../../lib/rsift"
+require "./lib/rsift"
class CommentTest < Test::Unit::TestCase
include WebMock::API
def setup
@@ -15,10 +15,10 @@
context "with comments" do
setup do
body = '{"success":true}'
stub_request(:get, /api.datasift.net\/comment/).
- with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
+ with(:headers => {'Accept'=>'*/*'}).
to_return(:status => 200, :body => body, :headers => {})
end
should "get a comment" do
\ No newline at end of file