Path: | lib/vendor/windows/spec/rb-fchange/fchange_spec.rb |
Last Update: | Thu Jun 14 11:33:28 +0000 2012 |
it "should work with none-ANSI path" do
dir = @fixture_path.join("../тест") Dir.mkdir dir unless Dir.exists? dir file = dir.join("тест"); File.delete file if File.exists? file File.exists?(file).should be_false @notifier.watch(dir.to_s, :all_events, :recursive) do |event| @results += [event.watcher.path] end run FileUtils.touch file stop File.delete file Dir.delete dir @results.should == [@fixture_path.to_s, @fixture_path.to_s]
end