Permalink
Browse files

GH#9: update to rspec 2.8: 35% spec performance improvement

  • Loading branch information...
1 parent caf4ab6 commit fea9db9713b977677db6f73a259c3f5907758b0b @tardate committed Jan 8, 2012
Showing with 14 additions and 18 deletions.
  1. +1 −1 Gemfile
  2. +13 −13 Gemfile.lock
  3. +0 −4 spec/spec_helper.rb
View
@@ -25,5 +25,5 @@ gem 'grackle'
group :test, :development do
# rspec for all testing
- gem 'rspec-rails', '~> 2.4'
+ gem 'rspec-rails', '~> 2.8'
end
View
@@ -96,19 +96,19 @@ GEM
rdoc (3.10)
json (~> 1.4)
responders (0.6.4)
- rspec (2.6.0)
- rspec-core (~> 2.6.0)
- rspec-expectations (~> 2.6.0)
- rspec-mocks (~> 2.6.0)
- rspec-core (2.6.4)
- rspec-expectations (2.6.0)
+ rspec (2.8.0)
+ rspec-core (~> 2.8.0)
+ rspec-expectations (~> 2.8.0)
+ rspec-mocks (~> 2.8.0)
+ rspec-core (2.8.0)
+ rspec-expectations (2.8.0)
diff-lcs (~> 1.1.2)
- rspec-mocks (2.6.0)
- rspec-rails (2.6.1)
- actionpack (~> 3.0)
- activesupport (~> 3.0)
- railties (~> 3.0)
- rspec (~> 2.6.0)
+ rspec-mocks (2.8.0)
+ rspec-rails (2.8.1)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec (~> 2.8.0)
sass (3.1.10)
thin (1.2.11)
daemons (>= 1.0.9)
@@ -134,5 +134,5 @@ DEPENDENCIES
nokogiri
pg
rails (= 3.0.10)
- rspec-rails (~> 2.4)
+ rspec-rails (~> 2.8)
thin
View
@@ -4,10 +4,6 @@
require 'rspec/rails'
require 'factory_girl'
-# preloading for performance
-require "rspec/expectations"
-require "rspec/core/expecting/with_rspec"
-
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}

0 comments on commit fea9db9

Please sign in to comment.