Permalink
Browse files

Do not require the whole dev bundle on each rake task

  • Loading branch information...
1 parent 93816f7 commit acf3fc1a9d505c13de2f533e6ff1f5f75225b380 @remiprev committed Aug 16, 2012
Showing with 4 additions and 3 deletions.
  1. +2 −2 Rakefile
  2. +2 −1 spec/spec_helper.rb
View
4 Rakefile
@@ -1,6 +1,6 @@
require "bundler"
-Bundler.require :development
-
+require "rake"
+require "yard"
require "bundler/gem_tasks"
require "rspec/core/rake_task"
View
3 spec/spec_helper.rb
@@ -1,7 +1,8 @@
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
-require "her"
+require "rspec"
require "mocha_standalone"
+require "her"
RSpec.configure do |c|
c.mock_with :mocha

0 comments on commit acf3fc1

Please sign in to comment.