Sha256: d33e57087e8f4806c19d635c0ecebe427ea41807d5f4d4ade914ee939bafe451

Contents?: true

Size: 438 Bytes

Versions: 4

Compression:

Stored size: 438 Bytes

Contents

describe ChatWork::MyTask do
  describe ".get", type: :api do
    subject do
      ChatWork::MyTask.get(
        assigned_by_account_id: assigned_by_account_id,
        status:                 status,
      )
    end

    let(:assigned_by_account_id) { 78 }
    let(:status)                 { "done" }

    before do
      stub_chatwork_request(:get, "/my/tasks")
    end

    it_behaves_like :a_chatwork_api, :get, "/my/tasks"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chatwork-0.7.0 spec/lib/chatwork/my_task_spec.rb
chatwork-0.6.2 spec/lib/chatwork/my_task_spec.rb
chatwork-0.6.1 spec/lib/chatwork/my_task_spec.rb
chatwork-0.6.0 spec/lib/chatwork/my_task_spec.rb