mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-19 05:31:23 +02:00
relevant feature spec
This commit is contained in:
parent
86daeef7ec
commit
c5fdcf6e92
1 changed files with 8 additions and 0 deletions
|
@ -486,4 +486,12 @@ RSpec.describe ColorLS::Flags do
|
|||
expect { subject }.not_to output(/128/).to_stdout
|
||||
end
|
||||
end
|
||||
|
||||
context 'when argument is a file with relative path' do
|
||||
let(:args) { ["#{FIXTURES}/a.txt"] }
|
||||
|
||||
it 'replicates the filepath provided in the argument' do
|
||||
expect { subject }.to output(/#{args.first}/).to_stdout
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue