Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
require pathname
Browse files Browse the repository at this point in the history
formulate assert conditions
  • Loading branch information
momolog committed Oct 19, 2011
1 parent 2191934 commit 1571290
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions test/helper.rb
Expand Up @@ -10,6 +10,7 @@
require 'active_support'
require 'mime/types'
require 'pry'
require 'pathname'

puts "Testing against version #{ActiveRecord::VERSION::STRING}"

Expand Down
5 changes: 2 additions & 3 deletions test/storage/s3_test.rb
Expand Up @@ -672,9 +672,8 @@ class AWS::S3::NoSuchBucket < AWS::S3::ResponseError
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
Expand Down

0 comments on commit 1571290

Please sign in to comment.