rspec for calapp model