add rspec test for edit competition