Sha256: 47a4bcb408bf2fcd8aa43e0b59e040718f4cb97cc0f69c0024a419a1ab9c7338

Contents?: true

Size: 555 Bytes

Versions: 6

Compression:

Stored size: 555 Bytes

Contents

require File.join(File.dirname(__FILE__), 'test_helper')
require 'markout/document'
require 'markout/history'

module Markout
  class HistoryTest < Test::Unit::TestCase

    def test_should_initialize_with_repository
      assert_nothing_raised do
        @history = Markout::History.new( 
          Markout::Document.new(fixture_file('empty.txt'), :history => false), 
          :git_dir => fixtures_path.join('empty_repository__dot__git')
        )
      end
      assert_not_nil @history.repo
      assert_not_nil @history.revisions
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
karmi-markout-0.1.1 test/markout_history_test.rb
karmi-markout-0.1.2 test/markout_history_test.rb
karmi-markout-0.1.3 test/markout_history_test.rb
karmi-markout-0.1.5 test/markout_history_test.rb
karmi-markout-0.1.6 test/markout_history_test.rb
karmi-markout-0.1.7 test/markout_history_test.rb