Update action_factory_spec.rb

made andrews changes