Skip to content

Commit af81ae3

Browse files
committed
more of them
1 parent bd9f5eb commit af81ae3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/models/feedback_reporters/abuse_reporter_spec.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
1414
username: "Walrus",
1515
ip_address: "127.0.0.1",
16-
referer: "http://localhost"
16+
referer: "https://example.com/works/1"
1717
}
1818
end
1919

@@ -28,7 +28,7 @@
2828
"cf_language" => "English",
2929
"cf_name" => "Walrus",
3030
"cf_ip" => "127.0.0.1",
31-
"cf_ticket_url" => "http://localhost"
31+
"cf_ticket_url" => "https://example.com/works/1"
3232
}
3333
}
3434
end
@@ -77,7 +77,7 @@
7777
allow(subject).to receive(:referer).and_return("")
7878
end
7979

80-
it "returns a hash containing a blank string for referer" do
80+
it "returns a hash containing a blank string for url" do
8181
expect(subject.report_attributes.dig("cf", "cf_ticket_url")).to eq("")
8282
end
8383
end

0 commit comments

Comments
 (0)