Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Commit

Permalink
Warnings polluting spec results
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Schwarz <ben.schwarz@gmail.com>
  • Loading branch information
benaskins authored and benschwarz committed Jan 21, 2009
1 parent e46e93a commit c145072
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/openuri_cache_spec.rb
Expand Up @@ -31,18 +31,18 @@
end

it "should cache for a default of 10 minutes" do
OpenURI::Cache.expiry.should eql 60 * 10
OpenURI::Cache.expiry.should eql(60 * 10)
end

it "should allow a userset cache expiry timeframe" do
OpenURI::Cache.expiry = 60 * 15
OpenURI::Cache.expiry.should eql 60 * 15
OpenURI::Cache.expiry.should eql(60 * 15)
end

it "should allow a userset host" do
server = "10.1.1.1:11211"
OpenURI::Cache.host.should eql "127.0.0.1:11211"
OpenURI::Cache.host.should eql("127.0.0.1:11211")
OpenURI::Cache.host = server
OpenURI::Cache.host.should eql server
OpenURI::Cache.host.should eql(server)
end
end

0 comments on commit c145072

Please sign in to comment.