Sha256: 7eb422eec6a25589a51edcdc718f03345d7847273f50ec1e4fbfe53664a3cf8f

Contents?: true

Size: 476 Bytes

Versions: 9

Compression:

Stored size: 476 Bytes

Contents

describe ChatWork::Client::MyTaskMethods do
  describe "#get_my_tasks", type: :api do
    subject do
      client.get_my_tasks(
        assigned_by_account_id: assigned_by_account_id,
        status:                 status,
        &block
      )
    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

9 entries across 9 versions & 1 rubygems

Version Path
chatwork-1.0.0 spec/lib/chatwork/client/my_task_methods_spec.rb
chatwork-0.12.3 spec/lib/chatwork/client/my_task_methods_spec.rb
chatwork-0.12.2 spec/lib/chatwork/client/my_task_methods_spec.rb
chatwork-0.12.1 spec/lib/chatwork/client/my_task_methods_spec.rb
chatwork-0.12.0 spec/lib/chatwork/client/my_task_methods_spec.rb
chatwork-0.11.0 spec/lib/chatwork/client/my_task_methods_spec.rb
chatwork-0.10.0 spec/lib/chatwork/client/my_task_methods_spec.rb
chatwork-0.9.0 spec/lib/chatwork/client/my_task_methods_spec.rb
chatwork-0.8.0 spec/lib/chatwork/client/my_task_methods_spec.rb