Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## vendor/plugins/your_plugin/test/test_helper.rb
- ENV['RAILS_ENV'] = 'test'
- ENV['RAILS_ROOT'] ||= File.dirname(__FILE__) + '/../../../..'
- require 'test/unit'
- require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config/environment.rb'))
Add Comment
Please, Sign In to add comment