Sha256: 654ac11f4008af716dcda9ac185ef70ec8cb30b46ca3fa59669b246014dea36a
Contents?: true
Size: 642 Bytes
Versions: 9
Compression:
Stored size: 642 Bytes
Contents
require "test_helper" class FoggedTest < ActiveSupport::TestCase test "truth" do assert_kind_of Module, Fogged end test "should return directory public url" do assert_equal "https://test.s3.amazonaws.com/", Fogged.directory_public_url("test") end test "should return resources public url" do assert_equal "https://test.s3.amazonaws.com/", Fogged.resources_public_url end test "should check if file exists" do refute Fogged.file_exists?("foobar") Fogged.resources.files.create( :key => "foobar", :body => "foo", :public => true ) assert Fogged.file_exists?("foobar") end end
Version data entries
9 entries across 9 versions & 1 rubygems