rspec for designation controller API