Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.569 kb
require 'test/unit'
require 'active_model'
require File.join(File.dirname(__FILE__), "/../lib/simple_record")
require File.join(File.dirname(__FILE__), "./test_helpers")
require File.join(File.dirname(__FILE__), "./test_base")
require "yaml"
require 'aws'
require_relative 'my_model'
require_relative 'my_child_model'
require_relative 'model_with_enc'
# To test things related to rails 3 like ActiveModel usage.
class TestRails3 < TestBase
def test_active_model_defined
my_model = MyModel.new
assert (defined?(MyModel.model_name))
end
end
Jump to Line
Something went wrong with that request. Please try again.