Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##New additional blueprint to WorkUnit
- let(:site_settings) { SiteSettings.make }
- ##New spec for WorkUnit
- describe "#validate_client_internal" do
- it "should not allow you to file CTO whent work_unit's client doesn't match internal client" do
- work_unit.update_attribute(:hours_type,"CTO")
- work_unit.hours_type.should_not == "CTO"
- end
- end
Add Comment
Please, Sign In to add comment