Sha256: 5c895d64b9d887f4c5634050c1c3f6ef32a4b350185031a2095ae0ac466148e5
Contents?: true
Size: 336 Bytes
Versions: 16
Compression:
Stored size: 336 Bytes
Contents
require "spec_helper" describe JsRoutes, "#default_serializer" do before(:each) do evaljs(JsRoutes.generate({})) end it "should provide this method" do expect(evaljs("Routes.default_serializer({a: 1, b: [2,3], c: {d: 4, e: 5}, f: ''})")).to eq( "a=1&b%5B%5D=2&b%5B%5D=3&c%5Bd%5D=4&c%5Be%5D=5&f=" ) end end
Version data entries
16 entries across 16 versions & 2 rubygems