Artificial intelligent assistant

rspec uninitialized constant Event (NameError) rspec /Users/(user_name)/rails_projects/(project_name)/spec/models/event_spec.rb:3:in `<top (required)>': uninitialized constant Event (NameError) `spec/models/event_spec.rb` require 'spec_helper' describe Event do descrive '#name' do context '' do it 'valid ' do event = Event.new(name: '') event.valid? expect(event.errors[:name]).to be_present end end end end NoNameErrorEvent `rails_helper.rb`,`spec_helper.rb`

rspec-rails 3

`spec/models/event_spec.rb`1
`require 'spec_helper'``require 'rails_helper'`
rspec-rails 3`spec_helper``rails_helper``require`


<

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 9cb0d36b5c95193af4e0c92b55ab98ff