Sha256: 5858436c8953f1fa023014a4d36f007757d0f77ca88509b543f133f4500775eb
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 Bytes
Contents
require 'spec_helper' describe 'PGit::CurrentProject::Validator' do it 'should raise an error if there are no matching projects' do matching_projects = [] message = "None of the project paths matches the working directory" expect do PGit::CurrentProject::Validator.new(matching_projects) end.to raise_error(PGit::Error::User, message) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pgit-1.0.0 | spec/pgit/current_project/validator_spec.rb |