Commit c63ff08b by Prem Sichanugrist

Silent output in test, remove nonsense assertion

parent 28e2d1ba
......@@ -38,12 +38,14 @@ class PaperclipTest < Test::Unit::TestCase
Paperclip.logger = nil
Paperclip.options[:logger] = nil
end
teardown do
Paperclip.options[:logger] = ActiveRecord::Base.logger
Paperclip.logger = ActiveRecord::Base.logger
end
should "not raise an error when log is called" do
assert_nothing_raised do
silence_stream(STDOUT) do
Paperclip.log('something')
end
end
......
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