fix 'uninitialized instance variable' warning

Running specs in my Rails 4.1.2.rc1 app with warnings turned on prints this warning, and just this warning. So I fixed it. :)