We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a77aa96 commit a3fcb88Copy full SHA for a3fcb88
test/models/message_template_test.rb
@@ -14,6 +14,8 @@ class MessageTemplateTest < ActiveSupport::TestCase
14
end
15
16
should "refresh stored instance when calling #load_singleton" do
17
+ # Fresh load + instance expiration
18
+ MessageTemplate.load_singleton
19
# Mutate the in-memory instance
20
MessageTemplate.instance.html = "foo"
21
assert_equal "foo", MessageTemplate.instance.html
@@ -23,6 +25,8 @@ class MessageTemplateTest < ActiveSupport::TestCase
23
25
24
26
27
should "refresh singleton after instance has aged" do
28
29
30
31
32
0 commit comments