spec/rest/sessions_spec.rb in finapps-4.0.5 vs spec/rest/sessions_spec.rb in finapps-4.0.6

- old
+ new

@@ -26,10 +26,10 @@ context 'for invalid credentials' do let(:credentials) { { email: 'email@domain.com', password: 'invalid_password' } } it { expect { create }.not_to raise_error } it('results is nil') { expect(results).to be_nil } - error_message = 'Invalid User Identifier or Credentials' + error_message = 'Invalid Consumer Identifier or Credentials' it('error_messages are populated') { expect(error_messages.first).to eq(error_message) } end context 'for valid credentials' do let(:credentials) { { email: 'email@domain.com', password: 'valid_password' } }