File: test_helper.rb

package info (click to toggle)
ruby-shoulda-context 1.0.0~beta1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 220 kB
  • sloc: ruby: 1,050; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
require 'fileutils'
require 'test/unit'
require 'mocha'

shoulda_path = File.join(File.dirname(__FILE__), '..', 'lib')
$LOAD_PATH << shoulda_path
require 'shoulda-context'

Shoulda.autoload_macros File.join(File.dirname(__FILE__), 'fake_rails_root'),
                        File.join("vendor", "{plugins,gems}", "*")