Permalink
Browse files

adding test for url with spaces

  • Loading branch information...
1 parent 6dada1e commit 001cdea7547dcc4b9452c778d71a08e9b448b71c @Druwerd Druwerd committed Oct 11, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/test_hudson_job.rb
@@ -59,4 +59,11 @@ def test_url
job = Hudson::Job.get("test_job")
assert_equal(job.url, "http://localhost:8080/job/#{job.name}/")
end
+
+ def test_job_with_spaces
+ job = Hudson::Job.create('test job with spaces')
+ assert job
+ assert job.name
+ assert job.delete
+ end
end

0 comments on commit 001cdea

Please sign in to comment.