Sha256: 126a7aa0bf665e0caf8b31e6dc19baf37607e75515fabc270bfc4693c7db05df

Contents?: true

Size: 633 Bytes

Versions: 4

Compression:

Stored size: 633 Bytes

Contents

require 'test/unit'
# Loads lolcommits directly from the lib folder so don't have to create
# a gem before testing
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'lolcommits'

include Lolcommits

class LolTest < Test::Unit::TestCase
    def test_can_parse_git
        assert_nothing_raised do
            Lolcommits.parse_git()
        end
    end

    # Hmm.. webcam capture breaks travis-ci tests
    #def test_can_capture
    #    assert_nothing_raised do
    #        Lolcommits.capture(0,true,'test commit message','test-sha-001')
    #    end
    #end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lolcommits-0.1.4 test/test_lolcommits.rb
lolcommits-0.1.3 test/test_lolcommits.rb
lolcommits-0.1.2 test/test_lolcommits.rb
lolcommits-0.1.1 test/test_lolcommits.rb