Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

require pathname

formulate assert conditions
  • Loading branch information...
commit 15712902d8136fc0b46c3c8b26da51113a5cc1d5 1 parent 2191934
@momolog momolog authored
Showing with 3 additions and 3 deletions.
  1. +1 −0  test/helper.rb
  2. +2 −3 test/storage/s3_test.rb
View
1  test/helper.rb
@@ -10,6 +10,7 @@
require 'active_support'
require 'mime/types'
require 'pry'
+require 'pathname'
puts "Testing against version #{ActiveRecord::VERSION::STRING}"
View
5 test/storage/s3_test.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.