Skip to content

Commit

Permalink
Don't rely on hash order in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mynyml committed Nov 22, 2009
1 parent a1b6fd4 commit df4d652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/event_handlers/test_unix.rb
Expand Up @@ -95,7 +95,7 @@ def teardown
test "listens for events on monitored files" do
@handler.listen %w( foo bar )
assert_equal 2, @loop.watchers.size
assert_equal %w( foo bar ), @loop.watchers.every.path
assert_equal %w( foo bar ).to_set, @loop.watchers.every.path.to_set
assert_equal [SingleFileWatcher], @loop.watchers.every.class.uniq
end

Expand Down
1 change: 1 addition & 0 deletions test/test_helper.rb
@@ -1,5 +1,6 @@
require 'pathname'
require 'tempfile'
require 'set'

require 'minitest/autorun'
require 'mocha'
Expand Down

0 comments on commit df4d652

Please sign in to comment.