Focus on failed spec
This commit is contained in:
parent
667b248ad0
commit
68efb0d52f
@ -147,6 +147,7 @@ module Guard
|
||||
# both values down to the second for the comparison.
|
||||
def file_modified?(path, last_event)
|
||||
p path
|
||||
p @last_event.to_i
|
||||
p last_event.to_i
|
||||
p File.ctime(path).to_i
|
||||
if File.ctime(path).to_i == last_event.to_i
|
||||
|
@ -102,7 +102,7 @@ shared_examples_for 'a listener that reacts to #on_change' do |rest_delay|
|
||||
results.should =~ []
|
||||
end
|
||||
|
||||
it "not catches a moved file" do
|
||||
it "not catches a moved file", :focus => true do
|
||||
file1 = @fixture_path.join("folder1/file1.txt")
|
||||
file2 = @fixture_path.join("folder1/movedfile1.txt")
|
||||
File.exists?(file1).should be_true
|
||||
|
Loading…
Reference in New Issue
Block a user