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