test: clean up spec description typos

Signed-off-by: Mridankan Mandal <xerontitan90@gmail.com>
This commit is contained in:
Mridankan Mandal 2026-08-12 18:54:26 +05:30
parent e267adf8b7
commit 9da43a52c3
No known key found for this signature in database
GPG key ID: C24AD565E950FF59
7 changed files with 10 additions and 10 deletions

View file

@ -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