Refactor installer-source_spec.rb