Fix Linux spec

This commit is contained in:
Rémy Coutable 2011-07-21 02:24:03 +02:00
parent 508aad1787
commit 7bfe5a3259

View File

@ -68,7 +68,7 @@ describe Guard::Linux do
file = @fixture_path.join("folder1/file1.txt")
File.exists?(file).should be_true
start
@listener.inotify.should_not_receive(:process)
@listener.instance_variable_get(:@inotify).should_not_receive(:process)
stop
File.open(file, 'w') {|f| f.write('') }
end