Sha256: 1d41832f109951a5eb7fe97063aed2412cb06e88c770bd7404a93be5c7d218c1
Contents?: true
Size: 825 Bytes
Versions: 7
Compression:
Stored size: 825 Bytes
Contents
root_path = File.expand_path(File.join(File.dirname(__FILE__), '..')) $LOAD_PATH.unshift(File.join(root_path, '/test/lib')) # add test/lib to the load path require 'bundler/setup' Bundler.require require 'spec/autorun' require 'mock_rails' require 'blueprint' WillPaginate.enable_activerecord AridCache.init_rails Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f} Spec::Runner.configure do |config| include ActiveRecordQueryMatchers config.mock_with :mocha config.before(:all) do Sham.reset(:before_all) end config.before(:each) do Sham.reset(:before_each) full_example_description = "#{self.class.description} #{@method_name}" RAILS_DEFAULT_LOGGER.info("\n\n#{full_example_description}\n#{'-' * (full_example_description.length)}") end end
Version data entries
7 entries across 7 versions & 2 rubygems