Permalink
Browse files

Fix a json spec which was insensitive to different computer clocks

  • Loading branch information...
1 parent 0f020a1 commit 38c552950741d61db533144a43e2923970121bd3 @ferrous26 ferrous26 committed Jun 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/macruby/library/json/objc_types_spec.rb
@@ -37,7 +37,7 @@ def serialize input, expected
end
it 'works with other Objective-C objects' do
- serialize('NSDate.distantPast','"0000-12-28 19:00:00 -0500"')
+ serialize('NSDate.distantPast', "\"#{NSDate.distantPast.to_s}\"")
end
# ticket #1313

0 comments on commit 38c5529

Please sign in to comment.