Sha256: f8d4f6a0faee760a4503d3db776e5a8e258506908c56e4c517e11621bab73db6
Contents?: true
Size: 1023 Bytes
Versions: 1
Compression:
Stored size: 1023 Bytes
Contents
# This file is copied to ~/spec when you run 'ruby script/generate rspec' # from the project root directory. ENV["RAILS_ENV"] ||= 'test' require File.expand_path('../rails_app/config/application', __FILE__) require File.expand_path('../rails_app/config/environment', __FILE__) # Run migration ActiveRecord::Migration.verbose = false require File.expand_path('../../db/schema', __FILE__) require 'rspec/rails' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} # Load ContentEngine require 'content_engine' Rspec.configure do |config| require File.dirname(__FILE__) + '/blueprint' # Remove this line if you don't want Rspec's should and should_not # methods or matchers require 'rspec/expectations' config.include Rspec::Matchers # == Mock Framework config.mock_with :rspec include Webrat::Methods def should_see (pattern) response.should contain(pattern) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
content_engine-0.1.0 | spec/spec_helper.rb |