Sha256: ad0822c6c340093231d5adfbfea616a96a40d682951a71c0259ea3a22f06155d

Contents?: true

Size: 465 Bytes

Versions: 6

Compression:

Stored size: 465 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'rubygems'
require 'tweetstream'
require 'spec'
require 'spec/autorun'
require 'yajl'

def sample_tweets
  if @tweets
    @tweets
  else
    @tweets = []
    Yajl::Parser.parse(File.open(File.dirname(__FILE__) + '/data/statuses.json', 'r')) do |hash|
      @tweets << hash
    end
    @tweets
  end
end

Spec::Runner.configure do |config|
  
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
intridea-tweetstream-0.1.1 spec/spec_helper.rb
intridea-tweetstream-0.1.3 spec/spec_helper.rb
tweetstream-0.1.3 spec/spec_helper.rb
tweetstream-0.1.2 spec/spec_helper.rb
tweetstream-0.1.1 spec/spec_helper.rb
tweetstream-0.1.0 spec/spec_helper.rb