Refactor widgets_controller_spec.rb