Searched refs:FormalityLevel (Results 1 - 5 of 5) sorted by relevance

/ontohub/spec/models/
H A Dformality_level_spec.rb3 describe FormalityLevel do
18 before { FormalityLevel.create!(name: 'foo') }
23 context 'when FormalityLevel without name is to be saved' do
25 expect { FormalityLevel.create! }.
/ontohub/app/models/
H A Dformality_level.rb1 class FormalityLevel < ActiveRecord::Base class
H A Dability.rb124 can :read, FormalityLevel
137 can :read, FormalityLevel
H A Dontology.rb182 FormalityLevel.joins(:ontologies).
/ontohub/lib/
H A Drake_helper.rb78 Settings.formality_levels.each { |t| update_or_create_by_name(FormalityLevel, t.to_h) }

Completed in 13 milliseconds