spec/rake/funnel/extensions/common_path_spec.rb in rake-funnel-0.21.2 vs spec/rake/funnel/extensions/common_path_spec.rb in rake-funnel-0.22.0
- old
+ new
@@ -1,19 +1,20 @@
describe Rake::Funnel::Extensions::CommonPath do
describe 'Manual debugging test case' do
it 'should work' do
- expect(%w(/common/one /com/two).common_path).to be
+ expect(%w(/common/one /com/two).common_path).to be_truthy
skip('for manual testing only')
end
end
describe 'modification of FileList' do
it 'should not modify the input' do
input = FileList[File.join(File.dirname(__FILE__), '**/*')]
duped = input.dup
- expect(input.common_path).to be
+ expect(input.common_path).to be_truthy
+
expect(input).to match_array(duped)
end
end
{