Sha256: b3357a112489f2afe1ad0e1168ec4aa565470582b980229eee050446a8149453
Contents?: true
Size: 569 Bytes
Versions: 7
Compression:
Stored size: 569 Bytes
Contents
$:.unshift(File.dirname(__FILE__)) require 'helpers/unit_test_helper' require 'models/location' require 'models/note' require 'models/project' require 'models/task' require 'models/user' require 'models/simple_property' class ToJsonTest < ActiveRecord::TestCase fixtures :locations, :notes, :projects, :tasks, :users, :simple_properties def test_to_json_sanity assert_nothing_raised {users(:ludwig).to_json} end def test_to_json_methods #set_response_to users(:ludwig).to_json #puts users(:ludwig).to_json puts User.all.to_json end end
Version data entries
7 entries across 7 versions & 4 rubygems