Permalink
Browse files

Wow -- example.com disappeared. Fixing tests.

  • Loading branch information...
1 parent 962ada5 commit 9e9c7858ffd389e7fff531898fdfc5bfa9b9e67e @jashkenas jashkenas committed Feb 14, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/unit/test_action.rb
View
6 test/unit/test_action.rb
@@ -50,7 +50,7 @@ class ActionTest < Test::Unit::TestCase
end
should "be able to count the number of words in this file" do
- assert @action.process == 274
+ assert @action.process == 266
end
should "raise an exception when backticks fail" do
@@ -60,8 +60,8 @@ def @action.process; `utter failure 2>&1`; end
should "be able to download a remote file" do
path = "temp.txt"
- @action.download('http://example.com', path)
- assert File.read(path).match(/These domain names are reserved for use in documentation/)
+ @action.download('http://www.w3.org', path)
+ assert File.read(path).match(/standards/i)
FileUtils.rm path
end

0 comments on commit 9e9c785

Please sign in to comment.