require 'rails_helper'

RSpec.describe Submission do
  it { should validate_presence_of(:event) }
  it { should validate_presence_of(:proposal) }
  it { should validate_presence_of(:result) }
end

require 'rails_helper'

RSpec.describe Submission do
  it { should validate_presence_of(:event) }
  it { should validate_presence_of(:proposal) }
  it { should validate_presence_of(:result) }
  it { should define_enum_for(:result).with([:accepted, :rejected]) }
end

Add spec to check for different types of submission results
Add spec to check for different types of submission results
