Sha256: 7314c4660ccf73f9db9995fbbd7f4880000fc094313b8d5a917f098041c3e213

Contents?: true

Size: 490 Bytes

Versions: 8

Compression:

Stored size: 490 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'), :symbolize_keys => true) do |hash|
      @tweets << hash
    end
    @tweets
  end
end

Spec::Runner.configure do |config|
  
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
intridea-tweetstream-0.1.4 spec/spec_helper.rb
intridea-tweetstream-0.1.5 spec/spec_helper.rb
tweetstream-0.3.0 spec/spec_helper.rb
tweetstream-0.1.9 spec/spec_helper.rb
tweetstream-0.1.8 spec/spec_helper.rb
tweetstream-0.1.7 spec/spec_helper.rb
tweetstream-0.1.5 spec/spec_helper.rb
tweetstream-0.1.4 spec/spec_helper.rb