b439d7f807
This reverts commit 755cf6e508
.
11 lines
310 B
Ruby
11 lines
310 B
Ruby
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
|
|
describe "reloads" do
|
|
it "should reload the page with http referer" do
|
|
webrat_session.should_receive(:get).with("/", {})
|
|
webrat_session.should_receive(:get).with("/", {}, {"HTTP_REFERER"=>"/"})
|
|
visit("/")
|
|
reload
|
|
end
|
|
end
|