diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-04-20 19:10:10 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-04-20 19:10:10 +0100 |
commit | 4533b28661d6ce6973becf5877e82ca5656c37d2 (patch) | |
tree | e3df319f2d3a3d7a458c5637dee74db02f15bcff /spec/spec_helper.rb | |
parent | 8fcafad78e2fba5a09f7ad45542d906e0cdda19b (diff) |
More changes and refactoring to make purges work.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5ca4b6de9..a98a5113d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -15,7 +15,7 @@ config['REPLY_LATE_AFTER_DAYS'] = 20 # register a fake Varnish server require 'fakeweb' -FakeWeb.register_uri(:get, %r|varnish|, :body => "OK") +FakeWeb.register_uri(:purge, %r|varnish.localdomain|, :body => "OK") # Uncomment the next line to use webrat's matchers #require 'webrat/integrations/rspec-rails' |