linux and other system don't sort files in same order in polling listener, fix spec to work on linux
This commit is contained in:
parent
31cfcc23d4
commit
eb8decd9ee
@ -39,7 +39,7 @@ describe Guard::Polling do
|
|||||||
FileUtils.touch file1
|
FileUtils.touch file1
|
||||||
FileUtils.touch file2
|
FileUtils.touch file2
|
||||||
stop
|
stop
|
||||||
@results.should == ['spec/fixtures/folder1/file1.txt', 'spec/fixtures/folder1/folder2/file2.txt']
|
@results.sort.should == ['spec/fixtures/folder1/file1.txt', 'spec/fixtures/folder1/folder2/file2.txt']
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
Loading…
Reference in New Issue
Block a user