3months/jbuilder — pull request #1 by delba (2012-02-06 17:09:44+00:00)
Title: Add test for false value

Addition of a test for false value and small modification of test for nil value

```ruby
test "nil value" do
json = Jbuilder.encode do |json|
json.content nil
end

JSON.parse(json).tap do |parsed|
assert parsed.has_key?("content")
assert_equal nil, parsed["content"]
end
end

test "false value" do
json = Jbuilder.encode do |json|
json.published false
end

assert_equal false, JSON.parse(json)["published"]
end
```