public
Description: restful workflow engine based on Rack and ruote (Warning : ruote-rest will be replaced by ruote-kit soon)
Homepage: http://openwferu.rubyforge.org
Clone URL: git://github.com/jmettraux/ruote-rest.git
commit  0901bd9236835294036ea9da85e8d3028b46bf40
tree    fa8a01ebdf42b1f73720c217c3a1a445654d34dc
parent  4fee6c3ab7d01427f748b9915c4a0814dc78cbe8
ruote-rest / test / t_misc.rb
100644 30 lines (20 sloc) 0.492 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Testing ruote-rest
#
# John Mettraux at OpenWFE dot org
#
# Mon Apr 14 17:02:31 JST 2008
#
 
require 'test/unit'
 
require 'rubygems'
require 'activesupport' # force using activesupport instead of json
require 'rack'
 
require File.dirname(__FILE__) + '/testbase'
require 'misc'
 
 
class MiscTest < Test::Unit::TestCase
 
  def test_0
 
    a = [ 1, 2, 3 ]
 
    # This feels redundent now since the hacks aren't loaded anymore
    assert_equal a, json_parse(OpenWFE::Json.encode(a))
  end
end