Improvements to motion_spec #60

Merged
4 commits merged into from Dec 13, 2010

Projects

None yet

1 participant

@ddemaree

In preparation for some work I'm about to start on the e-mail notification stories, I made a couple of small improvements to motion_spec:

  1. The before(:each) block at the top of the file (that runs before every test) now only builds Motion objects instead of always saving them to the database. Examples that need a saved record can create their own object, or just run @motion.save.

  2. I've added some examples covering the schedule_updates callback that runs on create or state change.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment