Sha256: b6b6822c1461b17de6e78d2023385a50b8fbb1e2718aa4627abfb344db3f2e1b

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

require 'rubygems'
require 'yaml'
require 'test/unit'
require 'shoulda'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'active_model'
require 'obscenity'
require 'obscenity/active_model'

module Dummy
  class BaseModel
    include ActiveModel::Validations

    attr_accessor :title

    def initialize(attr_names)
      attr_names.each{ |k,v| send("#{k}=", v) }
    end
  end
end

class Test::Unit::TestCase
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
obscenity2-0.0.2 test/helper.rb
obscenity2-0.0.1 test/helper.rb