Sha256: 8cdf0dc66477862f95825c80b0bc7bc99ad8913928554445c81fbdf1c0878f4a

Contents?: true

Size: 453 Bytes

Versions: 9

Compression:

Stored size: 453 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,
        &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/my_task_spec.rb
chatwork-0.12.3 spec/lib/chatwork/my_task_spec.rb
chatwork-0.12.2 spec/lib/chatwork/my_task_spec.rb
chatwork-0.12.1 spec/lib/chatwork/my_task_spec.rb
chatwork-0.12.0 spec/lib/chatwork/my_task_spec.rb
chatwork-0.11.0 spec/lib/chatwork/my_task_spec.rb
chatwork-0.10.0 spec/lib/chatwork/my_task_spec.rb
chatwork-0.9.0 spec/lib/chatwork/my_task_spec.rb
chatwork-0.8.0 spec/lib/chatwork/my_task_spec.rb