Skip to content

Commit 5bdd9ab

Browse files
committed
missed a few
1 parent 2e37587 commit 5bdd9ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/models/feedback_reporters/support_reporter_spec.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
end
115115
end
116116

117-
context "if the report has an empty URL" do
117+
context "if the report has an empty referer" do
118118
before do
119119
allow(subject).to receive(:referer).and_return("")
120120
end
@@ -124,12 +124,12 @@
124124
end
125125
end
126126

127-
context "if the reporter has a very long referer URL" do
127+
context "if the reporter has a very long referer" do
128128
before do
129129
allow(subject).to receive(:referer).and_return("a" * 2081)
130130
end
131131

132-
it "truncates the URL to 2080 characters" do
132+
it "truncates the referer to 2080 characters" do
133133
expect(subject.report_attributes.dig("cf", "cf_ticket_url").length).to eq(2080)
134134
end
135135
end

0 commit comments

Comments
 (0)