aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/topic.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/models/topic.rb')
-rw-r--r--activemodel/test/models/topic.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activemodel/test/models/topic.rb b/activemodel/test/models/topic.rb
index 192786c096..b0af00ee45 100644
--- a/activemodel/test/models/topic.rb
+++ b/activemodel/test/models/topic.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class Topic
include ActiveModel::Validations
include ActiveModel::Validations::Callbacks
@@ -21,7 +23,7 @@ class Topic
true
end
- def condition_is_true_but_its_not
+ def condition_is_false
false
end