Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Wow -- example.com disappeared. Fixing tests.

  • Loading branch information...
commit 9e9c7858ffd389e7fff531898fdfc5bfa9b9e67e 1 parent 962ada5
@jashkenas jashkenas authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.