Sha256: 426391a9b1a274faf7d89c7df99c12e4cdc2556ad7ed7c1e5252856f9f993638
Contents?: true
Size: 617 Bytes
Versions: 1
Compression:
Stored size: 617 Bytes
Contents
# Configure Rails Envinronment ENV["RAILS_ENV"] = "test" require "rails/all" require "rspec/rails" # Pull in the fake rails app require 'fake_app' require 'mocha/setup' # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| # 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_framework = :mocha # Remove announcements before each example config.before(:each) do Announcement.delete_all end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paul_revere-1.2 | spec/spec_helper.rb |