Use reload instead of deprecated reloads in spec
This commit is contained in:
parent
8352985d08
commit
b8b4a614c4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue