Permalink
Browse files

Provide a way to load all Modelizer features.

  • Loading branch information...
1 parent 49742a0 commit 446514e034c641616c03c64bc4e1548dd8f0ef3d @jbarnette committed Sep 11, 2011
Showing with 4 additions and 14 deletions.
  1. +1 −0 .gitignore
  2. +3 −0 lib/modelizer/all.rb
  3. +0 −14 test/test_modelizer.rb
View
@@ -1,2 +1,3 @@
doc
+*flymake*
pkg
@@ -0,0 +1,3 @@
+require "modelizer"
+require "modelizer/assertions"
+require "modelizer/validations"
@@ -1,14 +0,0 @@
-require "minitest/autorun"
-require "modelizer"
-
-class TestModelizer < MiniTest::Unit::TestCase
- def setup
- @klass = Class.new
- @klass.send :include, Modelizer
- end
-
- def test_adds_model_template_for_class_method
- assert_includes @klass.singleton_methods.collect { |m| m.to_s },
- "model_template_for"
- end
-end

0 comments on commit 446514e

Please sign in to comment.