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

/ontohub/app/controllers/api/v1/
H A Dcombinations_controller.rb11 if combination.valid?
23 def combination method in class:Api
24 @combination ||= Combination.
25 build(current_user, repository, params[:combination])
29 args = [current_user.id, repository.id, params[:combination]]
35 combination.errors.messages.to_a.
/ontohub/features/step_definitions/
H A Daction_steps.rb1 Given(/^that I have requested the creation of a combination$/) do
6 When I create a combination via the API of these ontologies
9 And the body should be valid for a 202 combination-response
35 And(/^the combination is ready$/) do
43 And(/^it should redirect to the combination-ontology$/) do
H A Dcombination_steps.rb32 When(/^I create a combination via the API of these ontologies$/) do
43 When(/^I create a combination via the API with these:$/) do |table|
56 Then(/^a location\-header to the combination\-ontology$/) do
65 Then(/^the body should be valid for a (\d+) combination-response/) do |status|
/ontohub/app/fake_records/
H A Dcombination.rb3 DEFAULT_COMBINATION_NAME = 'combination'
15 combination = new(*args)
16 combination.save!
17 combination

Completed in 27 milliseconds