fix rspec deprecation, and prevent more

Change-Id: I6591d7c98ee43f28776cd4b8b143514b137d20a1
Reviewed-on: https://gerrit.instructure.com/43219
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>