spec/spec_helper.rb in tweetstream-1.0.5 vs spec/spec_helper.rb in tweetstream-1.1.0.rc1

- old
+ new

@@ -1,12 +1,17 @@ +require 'simplecov' +SimpleCov.start do + add_group 'Tweetstream', 'lib/tweetstream' + add_group 'Specs', 'spec' +end + $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 'rspec' +require 'rspec/autorun' require 'yajl' require 'json' def sample_tweets if @tweets @@ -16,10 +21,6 @@ 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