started increasing test coverage for lva

This commit is contained in:
2019-01-05 02:56:47 +01:00
parent c713fdd0d0
commit f7f8937197
3 changed files with 50 additions and 20 deletions

View File

@@ -18,21 +18,6 @@
# typ :string(255)
#
# == Schema Information
#
# Table name: lvas
#
# id :integer not null, primary key
# name :string(255)
# desc :text
# ects :decimal
# lvanr :string(255)
# stunden :decimal
# created_at :datetime not null
# updated_at :datetime not null
# modul_id :integer
# semester_id :integer
class Lva < ActiveRecord::Base
ERLAUBTE_TYPEN = ['VO', 'UE', 'VU', 'LU', 'SE', 'PR', 'andere'];
translates :desc,:pruefungsinformation, :fallbacks_for_empty_translations => true, :versioning=> :paper_trail #true #{:gem=>:paper_trail}