Sha256: 19de05b33baabd05ade6292e0e72c2543e0c9ed1fa5673535bf3d014f52c8fe8

Contents?: true

Size: 667 Bytes

Versions: 11

Compression:

Stored size: 667 Bytes

Contents

# -*- coding : utf-8 -*-
require 'spec_helper'

describe Mushikago::Hanamgri::ListKnowledgesRequest do
  context '.new()' do
    subject{ Mushikago::Hanamgri::ListKnowledgesRequest.new() }
    it{ should be_kind_of(Mushikago::Http::GetRequest) }
    its(:path){ should == '/1/hanamgri/knowledges' }
  end

  context '.new(:limit => 20, :offset => 10, :status => "complete")' do
    subject{ Mushikago::Hanamgri::ListKnowledgesRequest.new(:limit => 20, :offset => 10, :status => "complete") }
    it{ should be_kind_of(Mushikago::Http::GetRequest) }
    its(:limit){ should == 20 }
    its(:offset){ should == 10 }
    its(:status){ should == "complete" }
  end
end


Version data entries

11 entries across 8 versions & 1 rubygems

Version Path
mushikago-sdk-2.4.3 spec/mushikago/hanamgri/list_knowledges_request_spec.rb
mushikago-sdk-2.4.3 spec//mushikago/hanamgri/list_knowledges_request_spec.rb
mushikago-sdk-2.4.2 spec/mushikago/hanamgri/list_knowledges_request_spec.rb
mushikago-sdk-2.4.2 spec//mushikago/hanamgri/list_knowledges_request_spec.rb
mushikago-sdk-2.4.1 spec/mushikago/hanamgri/list_knowledges_request_spec.rb
mushikago-sdk-2.4 spec/mushikago/hanamgri/list_knowledges_request_spec.rb
mushikago-sdk-2.2 spec/mushikago/hanamgri/list_knowledges_request_spec.rb
mushikago-sdk-2.2 spec//mushikago/hanamgri/list_knowledges_request_spec.rb
mushikago-sdk-2.1.1 spec/mushikago/hanamgri/list_knowledges_request_spec.rb
mushikago-sdk-2.1.0 spec/mushikago/hanamgri/list_knowledges_request_spec.rb
mushikago-sdk-2.0.0 spec/mushikago/hanamgri/list_knowledges_request_spec.rb