mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
2ed6d365bb
commit
77e0b7986e
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue