spec/client_spec.rb in chatterbot-0.6.5 vs spec/client_spec.rb in chatterbot-0.6.6

- old
+ new

@@ -93,10 +93,10 @@ before(:each) do @json = '{"id":12345,"screen_name":"mockbot"}' @token = mock(Object) response = mock(Object, :body => @json) - @token.should_receive(:get).with("/1/account/verify_credentials.json").and_return(response) + @token.should_receive(:get).with("/1.1/account/verify_credentials.json").and_return(response) end it "should work" do @bot.get_screen_name(@token) @bot.screen_name.should == "mockbot"