spec/examples/blog_spec.rb in tumblr_client-0.7.0 vs spec/examples/blog_spec.rb in tumblr_client-0.7.1

- old
+ new

@@ -16,9 +16,17 @@ }).and_return 'response' r = client.blog_info blog_name r.should == 'response' end + it 'should make the proper request with a short blog name' do + client.should_receive(:get).once.with("v2/blog/b.tumblr.com/info", { + :api_key => consumer_key + }).and_return 'response' + r = client.blog_info 'b' + r.should == 'response' + end + end describe :avatar do context 'when supplying a size' do