Sha256: d92153b42706393d5c37cd8306791337ab130c2d9b11c869403eb59f20cff625
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
require 'spec_helper' describe RakutenWebService::Ichiba::Tag do let(:params) do { 'tagId' => 100, 'tagName' => 'SS', 'parentTagId' => 1 } end let(:tag) { RakutenWebService::Ichiba::Tag.new(params) } describe '.new' do specify 'returned object should have methods to fetch values' do expect(tag.id).to eq(100) expect(tag.name).to eq('SS') expect(tag['parentTagId']).to eq(1) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rakuten_web_service-1.12.0 | spec/rakuten_web_service/ichiba/tag_spec.rb |