public
Description: Rails plugin for uploading images as resources, with support for resizing, text stamping, and other special effects.
Homepage: http://fleximage.rubyforge.org
Clone URL: git://github.com/Squeegy/fleximage.git
Search Repo:
Additional tests for model class options
Squeegy (author)
Fri Apr 18 22:56:20 -0700 2008
commit  216338471603c6e5468d34ff416e69762dcf413f
tree    91f4dc20dcf1fe43c075c750585f763f06d22ab2
parent  b05be2767fc12919ece3cc6811d1ddfbfc7bc898
...
1
 
 
...
 
1
2
0
@@ -1 +1,2 @@
0
-log/*
0
+test/rails_root/log/*
0
+test/rails_root/public/uploads/*
...
1
2
3
 
 
 
 
 
4
5
6
...
1
2
3
4
5
6
7
8
9
10
11
0
@@ -1,6 +1,11 @@
0
 require 'test/test_helper'
0
 
0
 class FleximageTest < Test::Unit::TestCase
0
+ def test_should_require_image_by_default
0
+ p = PhotoBare.new
0
+ assert !p.save, 'Record expected to not be allowed to save'
0
+ end
0
+
0
   def test_should_disable_image_requirement
0
     PhotoBare.require_image = false
0
     p = PhotoBare.new

Comments

    No one has commented yet.