Sha256: acf99f845a363cc333285398cb547b77a1bc85b3bf2e4518916d14481802e60a
Contents?: true
Size: 664 Bytes
Versions: 2
Compression:
Stored size: 664 Bytes
Contents
require 'spec_helper' module Ramesh describe ImageUtil do include Ramesh::ImageUtil describe "#create_moment_image" do before(:all) do current_time = Time.now year = current_time.year month = current_time.month day = current_time.day hour = current_time.hour @gif = sprintf('%04d%02d%02d%02d00.gif', year, month, day, hour) create_moment_image(@gif) end context "downloaded image" do it "should exist" do File.exist?(@gif).should be_true end end after(:all) do File.delete(@gif) if File.exists?(@gif) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ramesh-1.0.0 | spec/ramesh/image_util_spec.rb |
ramesh-0.0.1 | spec/ramesh/image_util_spec.rb |