Skip to content
Browse files

Lock rspec to 1.3.0 to fix issues with rspec 2.

  • Loading branch information...
1 parent a85fdbb commit 2206d3a7afdc49fdd70cc81dff0465ab875c7be9 @bryckbost bryckbost committed with voloko Jul 14, 2010
Showing with 6 additions and 4 deletions.
  1. +2 −1 Rakefile
  2. +4 −3 spec/spec_helper.rb
View
3 Rakefile
@@ -1,5 +1,6 @@
require 'rubygems'
-gem 'rspec'
+
+gem 'rspec', '= 1.3.0'
require 'spec/rake/spectask'
desc "Run all specs"
View
7 spec/spec_helper.rb
@@ -1,11 +1,12 @@
require 'rubygems'
-lib_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
-$LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path)
+$:.unshift File.expand_path("../../lib", __FILE__)
-gem 'rspec'
+gem 'rspec', '= 1.3.0'
require 'spec'
require 'spec/mocks'
+require 'twitter/json_stream'
+
def fixture_path(path)
File.join(File.dirname(__FILE__), '..', 'fixtures', path)
end

0 comments on commit 2206d3a

Please sign in to comment.
Something went wrong with that request. Please try again.