Sha256: c4a17b8e7869be24ec47f4a051d50e64e027fad90511bbbab91115106c41dbb7
Contents?: true
Size: 542 Bytes
Versions: 4
Compression:
Stored size: 542 Bytes
Contents
require 'spec_helper' describe 'A status request with a RevisionCheck', :type => :request do before do allow(Rapporteur::Revision).to receive(:current).and_return('revisionidentifier') Rapporteur.add_check(Rapporteur::Checks::RevisionCheck) end subject { get(status_path) ; response } it_behaves_like 'a successful status response' context 'the response payload' do it 'contains the current application revision' do expect(subject).to include_status_message('revision', 'revisionidentifier') end end end
Version data entries
4 entries across 4 versions & 1 rubygems