Commit 15712902 by Alexander Presber

require pathname

formulate assert conditions
parent 21919348
......@@ -10,6 +10,7 @@ require 'active_record/version'
require 'active_support'
require 'mime/types'
require 'pry'
require 'pathname'
puts "Testing against version #{ActiveRecord::VERSION::STRING}"
......
......@@ -672,9 +672,8 @@ class S3Test < Test::Unit::TestCase
end
should "succeed" do
@dummy.avatar.url() =~ /^https:/
@dummy.avatar.url(:thumb) =~ /^http:/
assert true
assert_equal 0, @dummy.avatar.url() =~ /^https:/
assert_equal 0, @dummy.avatar.url(:thumb) =~ /^http:/
end
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