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
1 changed files with 1 additions and 1 deletions

View File

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