Searched refs:url_map (Results 1 - 7 of 7) sorted by relevance

/ontohub/spec/models/
H A Durl_map_spec.rb6 let(:url_map) { create :url_map, repository: repository }
8 subject { url_map }
37 url_map.source = ""
38 url_map.valid?
39 url_map.errors[:source].should == ["can't be blank"]
45 url_map.target = ""
46 url_map.valid?
47 url_map.errors[:target].should == ["can't be blank"]
53 url_map2 = url_map
[all...]
H A Dtheorem_spec.rb41 let!(:url_maps) { [create(:url_map, repository: repository)] }
/ontohub/spec/factories/
H A Durl_map_factory.rb2 factory :url_map do
/ontohub/spec/controllers/
H A Durl_maps_controller_spec.rb5 describe "url_map" do
7 let!(:url_map) { create :url_map, repository: repository }
25 before { get :edit, repository_id: repository.to_param, id: url_map.to_param }
35 before { put :update, repository_id: repository.to_param, id: url_map.to_param }
40 before { delete :destroy, repository_id: repository.to_param, id: url_map.to_param }
52 before { get :edit, repository_id: repository.to_param, id: url_map.to_param }
62 before { put :update, repository_id: repository.to_param, id: url_map.to_param }
67 before { delete :destroy, repository_id: repository.to_param, id: url_map.to_param }
/ontohub/lib/dsl/
H A Drepo.rb14 RepositoryCreator.instance.url_map(*args)
31 def url_map(source, target) method in class:RepositoryCreator
/ontohub/spec/models/ontology_version/
H A Dproving_spec.rb35 let!(:url_maps) { [create(:url_map, repository: repository)] }
H A Dparsing_spec.rb154 let!(:url_maps) { [1,2].map { create :url_map, repository: repository } }

Completed in 47 milliseconds