Sha256: 79e35c8855c7c8d67faafbe095bb75c460ea4ad524b58970069c5fa837bc32e8

Contents?: true

Size: 333 Bytes

Versions: 4

Compression:

Stored size: 333 Bytes

Contents

# -*- coding: utf-8 -*-
require "sixarm_ruby_time_terse_test"

describe Time do

  describe "#terse" do
    
    it "with class method" do
      Time.terse.must_match /^\d\d\d\d\d\d\d\d\d\d\d\d\d\d$/
    end
    
    it "with instance method" do
    Time.now.terse.must_match /^\d\d\d\d\d\d\d\d\d\d\d\d\d\d$/
    end
    
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sixarm_ruby_time_terse-2.0.0 test/sixarm_ruby_time_terse_test/time_test.rb
sixarm_ruby_time_terse-1.1.6 test/sixarm_ruby_time_terse_test/time_test.rb
sixarm_ruby_time_terse-1.1.5 test/sixarm_ruby_time_terse_test/time_test.rb
sixarm_ruby_time_terse-1.1.4 test/sixarm_ruby_time_terse_test/time_test.rb