spec/etsy4r/favorite_commands_spec.rb in tcocca-etsy4r-0.2.0 vs spec/etsy4r/favorite_commands_spec.rb in tcocca-etsy4r-0.3.0

- old
+ new

@@ -13,26 +13,10 @@ it 'set the client' do @favorite_commands.client.class.should == Etsy4r::Client end end - describe 'get_favorers_of_user' do - it 'should return users who favor the user' do - @res = @favorite_commands.get_favorers_of_user(5565464) - @res.should be_success - @res.results.should_not be_nil - @res.error_message.should be_blank - end - - it 'should accept the optional params' do - @res = @favorite_commands.get_favorers_of_user(5565464, :detail_level => 'high', :limit => 5, :offset => 5) - @res.should be_success - @res.results.should_not be_nil - @res.error_message.should be_blank - end - end - describe 'get_favorers_of_shop' do it 'should return users who favor the shop' do @res = @favorite_commands.get_favorers_of_shop(5565464) @res.should be_success @res.results.should_not be_nil @@ -54,10 +38,10 @@ @res.results.should_not be_nil @res.error_message.should be_blank end it 'should accept the optional params' do - @res = @favorite_commands.get_favorers_of_listing(19749826, :detail_level => 'high', :limit => 5, :offset => 5) + @res = @favorite_commands.get_favorers_of_listing(19749826, :detail_level => 'high', :limit => 5, :offset => 0) @res.should be_success @res.results.should_not be_nil @res.error_message.should be_blank end end