Sha256: 911e2acb5dea230d9a67fc5379814415a2f272ce4dba8654321495ec695218ae

Contents?: true

Size: 643 Bytes

Versions: 4

Compression:

Stored size: 643 Bytes

Contents

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

describe 'CLI with display daemon and share status' do
  it 'should display information about the daemon' do
    gitdocs_status
    assert_gitdocs_status_contains(Gitdocs::VERSION)
    assert_gitdocs_status_contains('Running: false')
  end

  it 'should display information about the shares' do
    git_clone_and_gitdocs_add(git_init_remote, 'clone1', 'clone2', 'clone3')

    gitdocs_status

    assert_gitdocs_status_contains(abs_current_dir('clone1'))
    assert_gitdocs_status_contains(abs_current_dir('clone2'))
    assert_gitdocs_status_contains(abs_current_dir('clone3'))
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gitdocs-0.5.0.pre6 test/integration/status_test.rb
gitdocs-0.5.0.pre5 test/integration/status_test.rb
gitdocs-0.5.0.pre3 test/integration/status_test.rb
gitdocs-0.5.0.pre2 test/integration/status_test.rb