refactor error expecations to Quandl::Logger.should_receive(:error).with(//)