Use reload instead of deprecated reloads in spec

This commit is contained in:
Bryan Helmkamp 2009-01-19 13:40:58 -05:00
parent 8352985d08
commit b8b4a614c4

View File

@ -5,6 +5,6 @@ describe "reloads" do
webrat_session.should_receive(:get).with("/", {}) webrat_session.should_receive(:get).with("/", {})
webrat_session.should_receive(:get).with("/", {}, {"HTTP_REFERER"=>"/"}) webrat_session.should_receive(:get).with("/", {}, {"HTTP_REFERER"=>"/"})
visit("/") visit("/")
reloads reload
end end
end end