aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rwxr-xr-xactiverecord/test/base_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/test/base_test.rb b/activerecord/test/base_test.rb
index c819c97f3b..a7b1521d89 100755
--- a/activerecord/test/base_test.rb
+++ b/activerecord/test/base_test.rb
@@ -226,19 +226,19 @@ class BasicsTest < Test::Unit::TestCase
topic.approved = "false"
# puts "Expecting false"
# puts topic.inspect
- assert !topic.approved, "approved should be false"
+ assert !topic.approved?, "approved should be false"
topic.approved = "false"
# puts "Expecting false"
# puts topic.inspect
- assert !topic.approved, "approved should be false"
+ assert !topic.approved?, "approved should be false"
topic.approved = "true"
# puts "Expecting true"
# puts topic.inspect
- assert topic.approved, "approved should be true"
+ assert topic.approved?, "approved should be true"
topic.approved = "true"
# puts "Expecting true"
# puts topic.inspect
- assert topic.approved, "approved should be true"
+ assert topic.approved?, "approved should be true"
# puts ""
end