Guest User

Untitled

a guest
Jun 20th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. ## vendor/plugins/your_plugin/test/test_helper.rb
  2.  
  3. ENV['RAILS_ENV'] = 'test'
  4. ENV['RAILS_ROOT'] ||= File.dirname(__FILE__) + '/../../../..'
  5.  
  6. require 'test/unit'
  7. require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config/environment.rb'))
Add Comment
Please, Sign In to add comment