Sha256: f374d0c9660dac4003017467e9534433f4424bd764c3b0805dfff844d3dfd5c6
Contents?: true
Size: 481 Bytes
Versions: 9
Compression:
Stored size: 481 Bytes
Contents
require "assert" require 'osheet/format/custom' module Osheet::Format class CustomTest < Assert::Context desc "Custom format" should "generate a basic style string and key" do f = Custom.new '@' assert_equal "@", f.style assert_equal "custom_@", f.key end should "generate a more complex style string and key" do f = Custom.new 'm/d/yy' assert_equal 'm/d/yy', f.style assert_equal "custom_m/d/yy", f.key end end end
Version data entries
9 entries across 9 versions & 1 rubygems