fix attribute writes in a spec

Change-Id: Ie03d02d99cd0cdfec7429cf7f2661c310fc1d7c2
Reviewed-on: https://gerrit.instructure.com/43861
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Nick Cloward <ncloward@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>