Spec was using Tempfile without requiring it

The spec spec/rubocop/cop/rails/action_filter_spec.rb couldn't be run on its own. Now it can.