Sha256: 86dd683900e557a3a21d338ad26dc1cb09eb4228ed038bd743f33c0352d22cbd

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

require_relative 'test_helper'

class GlPeriodTest < Skr::TestCase

    def test_it_returns_current_period
        glp = GlPeriod.current
        glp.new_record?.must_equal false
        glp.period.must_equal Time.now.month
        glp.year.must_equal Time.now.year
    end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stockor-core-0.2 test/gl_period_test.rb