Sha256: 9bf974bf5f945a15c7bf8b7c6f052f7db7634220103f02fa04e615e5bbe922b5
Contents?: true
Size: 641 Bytes
Versions: 10
Compression:
Stored size: 641 Bytes
Contents
# frozen_string_literal: true require 'spec_helpers/client' require 'spec_helpers/api_request' RSpec.describe FinApps::REST::Query::Screenings do include SpecHelpers::Client subject(:create) { described_class.new(client).create('string') } describe '#create' do context 'when valid tenant token is provided' do it_behaves_like 'an API request' it_behaves_like 'a successful request' it 'sends the params in the body of the request' do create url = "#{versioned_api_path}/query/screenings" expect(WebMock).to have_requested(:post, url).with(body: 'string') end end end end
Version data entries
10 entries across 10 versions & 1 rubygems