Sha256: e777221acd9500322932cad94b912475b87c031df3d7250f1787d7b2cb0f0321
Contents?: true
Size: 584 Bytes
Versions: 1
Compression:
Stored size: 584 Bytes
Contents
require "minitest/autorun" require File.expand_path("../minitest_helper", __FILE__) describe "Configuration" do it "should assign max workers to pool" do Callisto.configure do |config| config.max_workers = 13 end Callisto::Pool.settings.max_workers.must_equal 13 end it "should assign thumbnail defaults" do Callisto.configure do |config| config.thumbnail_size = "20x45" config.thumbnail_quality = 75 end Callisto.configuration.thumbnail_size.must_equal "20x45" Callisto.configuration.thumbnail_quality.must_equal 75 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
callisto-0.9 | spec/configuration_spec.rb |