require 'spec_helper'
create(:logic_mapping, source: source, target: target)
end
source: source_logic, target: target_logic, user: user
end
source: source_logic2, target: target_logic2, user: user
end
end
before { get :show, id: adjoint.id, mapping_id: mapping.id }
it { should respond_with :success }
it { should render_template :show }
end
end
before { get :new, mapping_id: mapping.id }
it { should respond_with :success }
it { should render_template :new }
end
before do
}
end
end
end
end
end
end
before do
put :update, id: adjoint.id, logic_adjoint: {
}
end
end
end
end
end
end
before { delete :destroy, id: adjoint.id, mapping_id: mapping.id }
end
end
before { get :edit, id: adjoint.id, mapping_id: mapping.id }
it { should respond_with :success }
it { should render_template :edit }
end
end
end
before { get :show, id: adjoint.id, mapping_id: mapping.id }
it { should respond_with :success }
it { should render_template :show }
end
end
before { get :new, mapping_id: mapping.id }
it { should respond_with :success }
it { should render_template :new }
end
before do
}
end
end
end
end
end
end
before do
put :update, id: adjoint.id, logic_adjoint: {
}
end
end
end
before { delete :destroy, id: adjoint.id, translation_id: mapping.id }
end
end
before { get :edit, id: adjoint.id, translation_id: mapping.id }
it { should respond_with :redirect }
end
end
end
before { get :show, id: adjoint.id, translation_id: mapping.id }
it { should respond_with :success }
it { should render_template :show }
end
end
before { get :new, translation_id: mapping.id }
it { should respond_with :redirect }
end
end
before do
}
end
end
end
before do
put :update, id: adjoint.id, logic_adjoint: {
}
end
end
end
before { delete :destroy, id: adjoint.id, translation_id: mapping.id }
end
end
end
end