mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix boolean test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
ab9f324423
commit
46106755b7
1 changed files with 2 additions and 2 deletions
|
@ -747,9 +747,9 @@ class BasicsTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_boolean_cast_from_string
|
||||
b_false = Booleantest.create({ "value" => "false" })
|
||||
b_false = Booleantest.create({ "value" => "0" })
|
||||
false_id = b_false.id
|
||||
b_true = Booleantest.create({ "value" => "true" })
|
||||
b_true = Booleantest.create({ "value" => "1" })
|
||||
true_id = b_true.id
|
||||
|
||||
b_false = Booleantest.find(false_id)
|
||||
|
|
Loading…
Reference in a new issue