ontologies_controller_spec.rb revision d327eb79653cf7820fe583473ab35816d44cd757
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
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 :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