spec/spec_helper.rb in spud_banners-0.9.3 vs spec/spec_helper.rb in spud_banners-1.0.0.rc1
- old
+ new
@@ -11,10 +11,10 @@
require 'rspec/rails'
require 'rspec/autorun'
require 'database_cleaner'
require 'shoulda'
require 'factory_girl'
-require 'mocha'
+require 'mocha/setup'
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
Dir[File.join(ENGINE_RAILS_ROOT,"spec/support/**/*.rb"), File.join(ENGINE_RAILS_ROOT,"factories/*")].each {|f| require f}