Sha256: 1dac77b1de75515eaf7069f51ceb154d350fc81229d7b7118a22cedd541ab758
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
require 'spec_helper' describe 'PGit::CurrentProject::NoPathsMatchWorkingDirError' do it 'should have PGit::Error as an ancestor' do ancestors = PGit::CurrentProject::NoPathsMatchWorkingDirError.ancestors expect(ancestors).to include PGit::Error end it 'should have the appropriate message' do matches = [] error = PGit::CurrentProject::NoPathsMatchWorkingDirError.new message = error.instance_eval { @message } expect(message).to eq "None of the project paths matches the working directory" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pgit-0.0.4 | spec/pgit/current_project/no_paths_match_working_dir_error_spec.rb |