diff --git a/spec/watcher_spec.cr b/spec/watcher_spec.cr index f9aa982..de2cc47 100644 --- a/spec/watcher_spec.cr +++ b/spec/watcher_spec.cr @@ -8,8 +8,8 @@ describe Watcher do it "verify Watcher::WatchEvent.event.change" do Watcher.watch TEST_FILE do |event| - event.change = true - event.change.should eq(true) + event.status = true + event.status.should eq(true) break end end