Sha256: 31b234ca660795b8dacf0577ab3aa1d25822f09d9d8dba946676d8bb9a02f264

Contents?: true

Size: 671 Bytes

Versions: 2

Compression:

Stored size: 671 Bytes

Contents

# -*- encoding : utf-8 -*-

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

2 entries across 2 versions & 1 rubygems

Version Path
gitdocs-0.5.0 test/integration/status_test.rb
gitdocs-0.5.0.pre7 test/integration/status_test.rb