Sha256: bb903f8b492c429221871f676b28c7be7b72fef49809a3435309c0a28cf7b090

Contents?: true

Size: 588 Bytes

Versions: 11

Compression:

Stored size: 588 Bytes

Contents

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

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

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


Version data entries

11 entries across 8 versions & 1 rubygems

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