Searched refs:text (Results 1 - 25 of 74) sorted by relevance

123

/ontohub/app/models/
H A Dreview.rb3 attr_accessible :text
H A Dcomment.rb9 attr_accessible :text
13 validates :text, :length => { :minimum => 10 }
H A Dserialization.rb7 MIMETYPES = %w( text image video audio application multipart message model example )
/ontohub/spec/support/
H A Djson_schema_matcher.rb4 match do |text|
6 JSON::Validator.validate!(schema, text, clear_cache: true)
/ontohub/lib/oops/
H A Dresponse.rb16 node.xpath("oops:Code").text[1..-1].to_i,
17 node.xpath("oops:Name").text,
18 node.xpath("oops:Description").text,
19 node.xpath("oops:Affects/*").map(&:text)
/ontohub/spec/factories/
H A Dsentence_factory.rb9 text { Faker::Lorem.sentence }
12 text { 'Class: <https://github.com/ontohub/OOR_Ontohub_API/blob/master/Domain_fields.owl#Accounting_and_taxation> SubClassOf: <https://github.com/ontohub/OOR_Ontohub_API/blob/master/Domain_fields.owl#Business_and_administration>' }
H A Dcomment_factory.rb5 text { Faker::Lorem.paragraph }
H A Daxiom_factory.rb5 text { Faker::Lorem.sentence }
H A Dsymbol_factory.rb20 text { FactoryGirl.generate :symbol_text }
25 text { FactoryGirl.generate :symbol_owl2_text }
/ontohub/app/models/sentence/
H A Dreadability.rb5 if text
6 self.display_text = text.dup
/ontohub/spec/helpers/
H A Dsentence_helper_spec.rb7 name: 'aaaa', text: 'fasdfiasdf %(aaaa)%'
10 it 'should be removed from text' do
/ontohub/app/helpers/
H A Dsymbol_helper.rb7 if symbol.name == symbol.text
8 string = symbol.text
13 h(symbol.text).gsub(/\b#{symbol.name}\b/, string).html_safe
/ontohub/app/controllers/api/v1/
H A Dontology_versions_controller.rb9 respond_to :text, only: %i(show)
13 format.text { send_download }
19 render text: resource.file_in_repository.content,
H A Dontologies_controller.rb6 respond_to :text, only: %i(show)
11 format.text { send_download }
18 render text: asset.file_in_repository.content,
/ontohub/app/controllers/
H A Dplain_text_default_helper.rb9 request.format = :text unless request.format.to_sym == :json
/ontohub/db/migrate/
H A D20150715081827_init_schema.rb30 t.text "iri"
39 t.text "key"
66 t.text "proof"
84 t.text "name", :null => false
113 t.text "text", :null => false
123 t.text "committer"
124 t.text "author"
158 t.text "name"
159 t.text "descriptio
[all...]
/ontohub/db/seeds/
H A D060-comments.rb4 text: (1 + rand(4)).times.map{ Faker::Lorem.paragraph(5 + rand(10)) }.join("\n\n")
/ontohub/spec/models/
H A Dsymbol_spec.rb11 name: :text,
12 display_name: :text,
13 label: :text,
14 iri: :text,
15 text: :text,
16 comment: :text,
24 it { should have_db_index([:ontology_id, :text]).unique(true) }
57 'text' => 'nat'
66 %w(name range kind text)
[all...]
H A Dtask_spec.rb5 it { should have_db_column(:name).of_type(:text) }
6 it { should have_db_column(:description).of_type(:text) }
H A Dontology_type_spec.rb6 it { should have_db_column(column).of_type(:text) }
H A Dproject.rb7 it { should have_db_column(column).of_type :text }
H A Dtool_spec.rb6 it { should have_db_column(column).of_type(:text) }
/ontohub/features/step_definitions/
H A Dontology_versions_steps.rb31 Then(/^I should see a "(.*?)" button for each version$/) do |text|
34 expect(row).to have_link(text)
39 Then(/^I shouldn't see a "(.*?)" button for each version$/) do |text|
42 expect(row).not_to have_link(text)
55 Then(/^I should see a "(.*?)" button for the latest version$/) do |text|
57 @edit_button = first(:css, 'tbody > tr').find_link(text)
58 expect(first(:css, 'tbody > tr')).to have_link(text)
62 Then(/^I should see a "(.*?)" button for every other version$/) do |text|
65 expect(row).to have_link(text)
H A Dloc_id_routing_steps.rb34 Then(/^the page title should include "(\S+)"$/) do |text|
35 expect(page.title).to include(text)
47 Then(/^the active tab in the navigation level (\d+) should be "([^"]+)"$/) do |level, text|
48 expect(page.find_all(".nav_tab_level#{level} > .nav-tabs > li.active").last.text).
49 to eq(text)
55 expect(page.find('h3').text).to include(search_string)
62 expect(page.find('h3').text).to include(search_string)
/ontohub/app/models/ontology_member/symbol/
H A Dsearching.rb34 # search for text
36 highlight :text
37 fields(:text)

Completed in 51 milliseconds

123