spec/spec_helper.rb in tweetstream-2.3.0 vs spec/spec_helper.rb in tweetstream-2.4.0

- old
+ new

@@ -6,15 +6,21 @@ end end require 'tweetstream' require 'tweetstream/site_stream_client' +require 'json' require 'rspec' require 'webmock/rspec' require 'yajl' -require 'json' +RSpec.configure do |config| + config.expect_with :rspec do |c| + c.syntax = :expect + end +end + def samples(fixture) samples = [] Yajl::Parser.parse(fixture(fixture), :symbolize_keys => true) do |hash| samples << hash end @@ -40,6 +46,6 @@ end FakeHttp = Class.new do def callback; end def errback; end -end \ No newline at end of file +end