Spec for submission.rb