File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ def self.pro_attribution_comment
173173 # Check if in grace period
174174 grace_days = ReactOnRailsPro ::LicenseValidator . grace_days_remaining
175175 comment = if grace_days
176- "#{ base } | Licensed (Expired - Grace Period: #{ grace_days } days remaining)"
176+ "#{ base } | Licensed (Expired - Grace Period: #{ grace_days } day(s) remaining)"
177177 elsif ReactOnRailsPro ::LicenseValidator . evaluation?
178178 "#{ base } | Evaluation License"
179179 else
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ module ReactOnRailsPro
239239 it "returns attribution comment with grace period information" do
240240 result = described_class . pro_attribution_comment
241241 expected = "<!-- Powered by React on Rails Pro (c) ShakaCode | " \
242- "Licensed (Expired - Grace Period: 15 days remaining) -->"
242+ "Licensed (Expired - Grace Period: 15 day(s) remaining) -->"
243243 expect ( result ) . to eq ( expected )
244244 end
245245 end
@@ -252,7 +252,7 @@ module ReactOnRailsPro
252252 it "returns attribution comment with singular day" do
253253 result = described_class . pro_attribution_comment
254254 expected = "<!-- Powered by React on Rails Pro (c) ShakaCode | " \
255- "Licensed (Expired - Grace Period: 1 days remaining) -->"
255+ "Licensed (Expired - Grace Period: 1 day(s) remaining) -->"
256256 expect ( result ) . to eq ( expected )
257257 end
258258 end
@@ -276,7 +276,7 @@ module ReactOnRailsPro
276276 it "returns attribution comment with grace period information" do
277277 result = described_class . pro_attribution_comment
278278 expected = "<!-- Powered by React on Rails Pro (c) ShakaCode | " \
279- "Licensed (Expired - Grace Period: 0 days remaining) -->"
279+ "Licensed (Expired - Grace Period: 0 day(s) remaining) -->"
280280 expect ( result ) . to eq ( expected )
281281 end
282282 end
You can’t perform that action at this time.
0 commit comments