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:
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.
I've added some examples covering the schedule_updates callback that runs on create or state change.
Update to schema.rb, to include latest migrations
Added setup:copy_default_config rake task to copy default database.ym…
…l into place
Refactored motion_spec to build, not create, motions before each exam…
…ple for added speed
Added examples to motion_spec for scheduling updates on creation or s…