makes rubocop happy
This commit is contained in:
parent
b86c03f898
commit
22e0c1d8f8
4 changed files with 7 additions and 12 deletions
|
|
@ -77,9 +77,7 @@ describe Admin::EventsController do
|
|||
it 'does not create new event' do
|
||||
allow_any_instance_of(Event).to receive(:save).and_return(false)
|
||||
expect do
|
||||
post :create, event: attributes_for(:event, event_type_id: event_type.id),
|
||||
conference_id: conference.short_title,
|
||||
user: attributes_for(:user)
|
||||
post :create, event: attributes_for(:event, event_type_id: event_type.id), conference_id: conference.short_title, user: attributes_for(:user)
|
||||
end.not_to change{ Event.count }
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue