Sha256: 59eb0a2b3050c4562199341610edb8d7a0c03a4a759cf80a756460a7e7160bc4
Contents?: true
Size: 738 Bytes
Versions: 1
Compression:
Stored size: 738 Bytes
Contents
# load the included rails test-application with the testing environment ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/rails_root/config/environment") # this loads the rails testing framework require 'test_help' # $: ruby load_path $: << File.expand_path(File.dirname(__FILE__) + '/..') # load our gem require 'eventable' # testing toolkit require 'shoulda' require 'factory_girl' require 'redgreen' rescue LoadError # shoulda macro's & helpers #require File.join(File.dirname(__FILE__), '..', 'shoulda_macros', 'eventable') # configure the testing framework class ActiveSupport::TestCase self.use_transactional_fixtures = true self.use_instantiated_fixtures = false end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dcs-eventable-0.0.8 | test/test_helper.rb |