mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-19 05:31:23 +02:00
438aed19bd
The elements in `@contents` should only ever be names of directory entries. Otherwise erroneous paths will be constructed with `@input/@content_entry`. * add check to ensure that long listing prints information about `.hidden-file` Fixes #104.
7 lines
233 B
Ruby
7 lines
233 B
Ruby
require 'spec_helper'
|
|
|
|
RSpec.describe ColorLS do
|
|
it 'lists info of a hidden file with --long option' do
|
|
expect { ColorLS::Flags.new('--long', 'spec/fixtures/.hidden-file').process }.to_not output(/No Info/).to_stdout
|
|
end
|
|
end
|