Sha256: b4aa52bb6c6323bc71a47f21dbfe26dbed7c11920c0b923babf013d4ed8dab99

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

require 'spec_helper'

describe 'PGit::CurrentProject::Validator' do
  it 'should raise an error if there are no matching projects' do
    matching_projects = []

    expect do
      PGit::CurrentProject::Validator.new(matching_projects)
    end.to raise_error PGit::CurrentProject::NoPathsMatchWorkingDirError
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pgit-0.0.4 spec/pgit/current_project/validator_spec.rb