Refactor rspec for create method