Sha256: 90e2a4f8152abb1d95441c5cea50d813605247fe027dfa22601a3ec3085a6123

Contents?: true

Size: 462 Bytes

Versions: 6

Compression:

Stored size: 462 Bytes

Contents

require File.expand_path('../test_helper', __FILE__)

describe "gitdocs runner" do
  it "should clone files" do
    with_clones(3) do |clone1, clone2, clone3|
      File.open(File.join(clone1, "test"), 'w') { |f| f << "testing" }
      sleep 2
      assert_equal "testing", File.read(File.join(clone1, "test"))
      assert_equal "testing", File.read(File.join(clone2, "test"))
      assert_equal "testing", File.read(File.join(clone3, "test"))
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gitdocs-0.1.5 test/runner_test.rb
gitdocs-0.1.4 test/runner_test.rb
gitdocs-0.1.3 test/runner_test.rb
gitdocs-0.1.2 test/runner_test.rb
gitdocs-0.1.1 test/runner_test.rb
gitdocs-0.1.0 test/runner_test.rb