Searched refs:LicenseModel (Results 1 - 4 of 4) sorted by relevance

/ontohub/spec/models/
H A Dlicense_model_spec.rb3 describe LicenseModel do
17 before { LicenseModel.create!(name: 'foo', url: 'http://foo.com') }
21 it 'raise error when LicenseModel without name is to be saved' do
22 expect { LicenseModel.create! }.
/ontohub/app/models/
H A Dlicense_model.rb1 class LicenseModel < ActiveRecord::Base class
H A Dability.rb122 can [:create, :read], LicenseModel
136 can :read, LicenseModel
/ontohub/lib/
H A Drake_helper.rb79 Settings.license_models.each { |t| update_or_create_by_name(LicenseModel, t.to_h) }

Completed in 23 milliseconds