Actualiza a Redmine 3.4.13
This commit is contained in:
parent
807ff3308d
commit
ecddcaf1d3
224 changed files with 2222 additions and 1000 deletions
|
@ -18,6 +18,15 @@
|
|||
require File.expand_path('../../../../../../test_helper', __FILE__)
|
||||
|
||||
class Redmine::Views::Builders::JsonTest < ActiveSupport::TestCase
|
||||
def test_nil_and_false
|
||||
assert_json_output({'value' => nil}) do |b|
|
||||
b.value nil
|
||||
end
|
||||
|
||||
assert_json_output({'value' => false}) do |b|
|
||||
b.value false
|
||||
end
|
||||
end
|
||||
|
||||
def test_hash
|
||||
assert_json_output({'person' => {'name' => 'Ryan', 'age' => 32}}) do |b|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue