cirandas.net

ref: master

test/unit/ticket_test.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
require_relative "../test_helper"

class TicketTest < ActiveSupport::TestCase

  should 'have serialized data' do
    t = Ticket.new
    t.data[:test] = 'test'

    assert_equal({:test => 'test'}, t.data)
  end

end