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

/ontohub/spec/controllers/
H A Dlanguage_mappings_controller_spec.rb42 let!(:mapping_from_db) { LanguageMapping.find_by_iri('http://test.de') }
69 let!(:mapping_from_db) { LanguageMapping.find_by_iri('http://test2.de') }
89 expect(LanguageMapping.find_by_id(mapping.id)).to be(nil)
138 let!(:mapping_from_db) { LanguageMapping.find_by_iri('http://test.de') }
165 expect(LanguageMapping.find_by_iri('http://test2.de')).to be(nil)
173 expect(LanguageMapping.find_by_id(mapping.id)).to eq(mapping)
220 expect(LanguageMapping.find_by_iri('http://test.de')).to be(nil)
235 expect(LanguageMapping.find_by_iri('http://test2.de')).to be(nil)
243 expect(LanguageMapping.find_by_id(mapping.id)).to eq(mapping)
/ontohub/app/models/
H A Dlanguage.rb41 LanguageMapping.where source_id: self.id
45 LanguageMapping.where(target_id: self.id)
H A Dlanguage_mapping.rb1 class LanguageMapping < ActiveRecord::Base class
H A Dability.rb65 can [:update], LanguageMapping do |subject|
68 can [:destroy, :permissions], LanguageMapping do |subject|
71 can [:create], LanguageMapping

Completed in 16 milliseconds