spec/models/mail_service_spec.rb [55:63]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      let(:commit) { FactoryGirl.create(:commit, project: project) }
      let(:build) { FactoryGirl.create(:build, status: :success, commit: commit) }

      before do
        allow(mail).to receive_messages(project: project)
      end

      it do
        should_email("git@example.com")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/models/mail_service_spec.rb [80:88]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      let(:commit) { FactoryGirl.create(:commit, project: project) }
      let(:build) { FactoryGirl.create(:build, status: :success, commit: commit) }

      before do
        allow(mail).to receive_messages(project: project)
      end

      it do
        should_email("git@example.com")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



