mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 05:34:04 +00:00
test: clean up spec description typos
Signed-off-by: Mridankan Mandal <xerontitan90@gmail.com>
This commit is contained in:
parent
e267adf8b7
commit
9da43a52c3
7 changed files with 10 additions and 10 deletions
|
|
@ -11,14 +11,14 @@ describe Admin::CfpsController do
|
|||
before { sign_in(organizer) }
|
||||
|
||||
describe 'POST #create' do
|
||||
it 'successes' do
|
||||
it 'succeeds' do
|
||||
post :create, params: { conference_id: conference.short_title, cfp: { cfp_type: 'events', start_date: today, end_date: today + 6.days, description: 'We call for papers, or tabak, or you know what!' } }
|
||||
expect(flash[:notice]).to match('Call for papers successfully created.')
|
||||
end
|
||||
end
|
||||
|
||||
describe 'POST #update' do
|
||||
it 'successes' do
|
||||
it 'succeeds' do
|
||||
patch :update, params: { conference_id: conference.short_title, id: cfp.id, cfp: { end_date: today + 10.days } }
|
||||
expect(flash[:notice]).to match('Call for papers successfully updated.')
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue