Commit de6af668 by Matthew Schulkind Committed by Jon Yurek

Fix a test to really test what it says.

Fixes #913.
parent fdb5b84c
...@@ -465,7 +465,9 @@ class IntegrationTest < Test::Unit::TestCase ...@@ -465,7 +465,9 @@ class IntegrationTest < Test::Unit::TestCase
setup do setup do
@dummy.avatar.options[:styles][:mini] = "25x25#" @dummy.avatar.options[:styles][:mini] = "25x25#"
@dummy.avatar.instance_variable_set :@normalized_styles, nil @dummy.avatar.instance_variable_set :@normalized_styles, nil
Time.stubs(:now => Time.now + 10)
@dummy.avatar.reprocess! 'mini' @dummy.avatar.reprocess! 'mini'
@dummy.reload
end end
should "make all the styles accessible" do should "make all the styles accessible" do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment