Sha256: 1c7a78da7aa2387e15c222c0b24e1956dc09ceaeb3a5ed4a1f0adf70166b7461

Contents?: true

Size: 403 Bytes

Versions: 4

Compression:

Stored size: 403 Bytes

Contents

require "test/unit"
require "shoulda"
require "./lib/rsift"

class SocketTest < Test::Unit::TestCase
  
  #This is a pretty lame test. Not sure how to improve.
  context "with a socket" do
    should "get data" do
      stream_identifier = "b6acf9e14021a8b6c3e18f17e8a1de19"
      Rsift::Socket.perform(stream_identifier) do |tweet|
        assert_not_nil tweet
        break
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rsift-0.3.6 test/unit/socket_test.rb
rsift-0.3.5 test/unit/socket_test.rb
rsift-0.3.4 test/unit/socket_test.rb
rsift-0.3.3 test/unit/socket_test.rb