Sha256: 407c94e9f2ad56110775fdef5a523cb1491a5ebb5018e8867d44974e8e865b40
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
require 'spec_helper' describe Mavenlink::ExpenseReportSubmission, stub_requests: true do let(:report) { described_class.new(id: 4) } describe "#reject_submission" do before do allow(report.client).to receive(:put) report.reject_submission end it "uses a put method with the correct api endpoint and id" do expect(report.client).to have_received(:put).with("expense_report_submissions/4/reject") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mavenlink-0.0.1 | spec/lib/mavenlink/expense_report_submission_spec.rb |