Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 12 lines (8 sloc) 0.279 kB
44a109b @adambair Refactor test harness for Rails 3
adambair authored
1 require 'rubygems'
1d81626 @adambair Initial import of the original plugin
adambair authored
2 require 'test/unit'
3 require 'yaml'
44a109b @adambair Refactor test harness for Rails 3
adambair authored
4 require 'active_record'
5 require 'active_support/all'
1d81626 @adambair Initial import of the original plugin
adambair authored
6
7 require File.dirname(__FILE__) + '/../lib/profanity_filter'
44a109b @adambair Refactor test harness for Rails 3
adambair authored
8 require File.dirname(__FILE__) + '/connection_and_schema'
34ab8c3 @adambair Tests can now be run without a host Rails application (standalone)
adambair authored
9
10 ActiveRecord::Base.send(:include, ProfanityFilter)
11
Something went wrong with that request. Please try again.