ontologies_controller_spec.rb revision a780acfdd9f2c812963c381dfb2bc036443c84f8
require 'spec_helper'
context 'failed ontology' do
let(:ontology_version){ create :ontology_version }
before do
end
end
before do
end
end
end
before do
end
before do
end
it{ should respond_with :found }
end
end
before do
create :import_mapping, target: importing, source: ontology
end
it{ should respond_with :found }
end
end
end
it { should respond_with :success }
end
it { should respond_with :success }
end
end
before do
end
it { should respond_with :success }
end
end
before do
end
it { should respond_with :redirect }
it do
end
end
before do
end
it { should respond_with :redirect }
it do
end
end
end
before do
end
before do
end
it { should respond_with :success }
it { should render_template :edit }
end
before do
name: 'foo bar'
end
end
end
end
end