mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 21:24:05 +00:00
First tests in rspec, with factory_girl
This commit is contained in:
parent
accd7d1a58
commit
e3fd0c195a
11 changed files with 131 additions and 19 deletions
|
|
@ -16,7 +16,7 @@ class Admin::CallforpapersController < ApplicationController
|
|||
end
|
||||
|
||||
def create
|
||||
@cfp = CallForPapers.new(params[:call_for_papers])
|
||||
@cfp = CallForPapers.new(params[:call_for_papers])
|
||||
@conference.call_for_papers = @cfp
|
||||
if @cfp.save
|
||||
redirect_to(admin_conference_cfp_info_path(:id => @conference.short_title), :notice => 'Call for Papers was successfully updated.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue