Sha256: c98b3ed119696640def3823a6c74a4c665db44883027ec990d0e65aa25398857

Contents?: true

Size: 414 Bytes

Versions: 3

Compression:

Stored size: 414 Bytes

Contents

require_relative '../../test_helper'
require 'msip/temas_helper'

module Msip
  class TemasHelperTest < ActionView::TestCase

    include TemasHelper

    test "temas_usuario" do
      t = tema_usuario(nil)
      assert_equal Msip::Tema.find(1), t
      u=Usuario.find(1)
      u.tema_id = 1
      u.save
      assert_equal Msip::Tema.find(1), tema_usuario(Usuario.find(1))
    end

  end  # class
end    # module

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
msip-2.2.0.alfa3 test/helpers/msip/temas_helper.rb
msip-2.2.0.alfa2 test/helpers/msip/temas_helper.rb
msip-2.2a2 test/helpers/msip/temas_helper.rb