Displaying 20 results from an estimated 1000 matches similar to: "smbpasswd -r pdd not working"
2007 Mar 19
1
Introducing myself
I am new to this group and would like to introduce myself. I am the
President of US AngelInvestors,an angel investor group in Silicon
Valley,and also founder of Bay Area Startup Network a networking group
in the Bay Area.
I invite you to join my network on LinkedIn, which I use much
principally. I am always looking at increasing my contacts, and
welcome new deals. You can connect with me on
2006 Jan 15
3
Detecting Long PDD
Hi List,
I've had some issues with some VoIP providers where either:
1 - There is massive PDD but finally the call goes through
2 - There is massive PDD but the call gets rejected anyways
I was wondering if there was a way to automatically detect such
behaviors when it happens (maybe with a script or something) so I can
take the faulty providers out of the routing and maybe automatically
2011 May 09
0
high PDD
Hi,
I am using Asterisk 1.4.17 for my C4 routing but I am experiencing a high pdd of around 20 seconds. Could you please help me to reduce it and what could be the reason. Thanks
Abid Saleem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110509/163192a7/attachment.htm>
2012 Feb 13
0
Log SRC & DST IP address and PDD
Anyone got a way to pull the Source and Destination IP addresses for a call
so they can be logged in a CDR and or CEL? Also anyone got a slick way for
registring PDD on calls?
Thanks
Bryant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120213/7ef4ad08/attachment.htm>
2007 Dec 21
5
Mocha and rails 2.0.2?
Folks-
With Rails 2.0.2, I''m seeing mocha failures where they did not fail
with Rails 2.0.1
test_set_to_process_fail_in_transaction(FileRecordTest):
NoMethodError: undefined method `ord'' for 63:Fixnum
/home/wolpert/svn/rubylms/vendor/plugins/mocha/lib/mocha/class_method.rb:45:in
`hidden_method''
2007 Jun 11
12
Mocking system/`
This drives me insane on a regular basis. How does one mock
system(''blah'') or `blah` ?
Adding expectations on Kernel doesn''t do it. Adding expectations on
Object just makes me sad:
Object.any_instance.expects(:system).with(''ls'')
# => #<Mock:0x12b584e>.system(''ls'') - expected calls: 0, actual calls: 1
And this really
2007 Feb 05
10
how does Mocha compare in terms of classical vs mock-based testing, and stubbing???
Hi guys,
I''ve just been reading Martin Fowler''s article re mock versus
stubbing<http://martinfowler.com/articles/mocksArentStubs.html>where
he compares traditional TDD testing techniques with mock based
testing. I''d be interested in comments from a ruby on rails perspective in
terms of this and Mocha? For example:
a) Do you see Mocha as a robust way to test Ruby
2006 Oct 25
5
Mocha, Stubba and RSpec
Hi,
I''ve been reading with interest the threads trying to integrate Mocha
and Stubba with RSpec. So far, I''ve made the two changes in
spec_helper.rb suggested, but discovered another one that neither of
the archives mentions:
If you use traditional mocking: object = mock or the stub shortcut
: object = stub(:method => :result), you run into namespace conflicts
with
2007 Mar 12
10
using mocha with rspec
Hi folks.
I''ve just started using rspec and I have to say it''s very nice. The
thing is, I prefer mocha''s mocking dialect. So I thought a simple
require ''mocha'' would set me up.
Unfortunately, rspec does all its goodness using do/end blocks in
anonymous classes, so it wasn''t quite that obvious.
Anyway, here is the incantation I ended up
2006 Sep 08
1
A quick guide to Mocha
Hello :)
Having just gone through the (admittedly simple) API of Mocha to learn
how it works, I wrote a quick guide (190 lines) to help others get up to
speed. I''ve attached it as RDOC and as HTML.
It is a first draft - please help me improve by giving feedback !
Contents :
Overview - Quick overview of Mocha
Unit testing, mock object and stubs - Very quick introduction to mock
2009 Jun 13
2
removing Mocha; 'spec spec' fails but the specific model file passes
I happened to mix ryan bates'' authentication scaffold with
rspec_scaffold on a demo project.
and ran into the problem of mixing mock frameworks...ryan uses mocha.
So, as a learning experience, I choose to redo ryan''s tests without
mocha but ran into a strange problem with tests of the User model.
With debugging you can see....
If you run just the user_spec.rb file, everything
2010 Nov 12
2
pending tests fail when I switch to mock_with :mocha
First of all, please direct me into how better to search existing threads in
this mailing list.
Ok to my rspec 2.0.1 mocha 0.9.8 issue:
given a controller test
before do
subject.expects(:authenticate).once
end
it "should bla bla" do
pending "PENDING, shouldn''t fail?"
end
with
config.mock_with :rspec
it''s ok: pending, but with
2007 Jan 02
4
allow stubbing of previously defined methods such as "id"
On my current project I needed to create a stub that responded
correctly to the id message. Here''s the change I put into my copy of
head.
Index: lib/mocha/mock_methods.rb
===================================================================
--- lib/mocha/mock_methods.rb (revision 1114)
+++ lib/mocha/mock_methods.rb (working copy)
@@ -68,6 +68,7 @@
method_names =
2007 May 07
6
mock frameworks
Just curious - now that rspec (as of 0.9) let''s you choose your mock
framework, how many of you are actually using (or planning to use)
mocha or flexmock?
Anybody planning to use any other mock framework besides rspec, mocha
or flexmock?
Thanks,
David
2006 Dec 15
3
how to install from svn?
When trying to run Chris samples I get error:
/usr/lib/ruby/gems/1.8/gems/mocha-0.3.2/lib/smart_test_case.rb:3:
uninitialized constant Test (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
from /usr/lib/ruby/gems/1.8/gems/mocha-0.3.2/lib/mocha.rb:1
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:33:in
2007 Jul 24
3
mocha tarballs don''t uncompress cleanly
Hi Antonio,
My environment is OS X 10.4.8.
Thanks a lot for looking into the problem. Please let me know if I
can do anything to help.
I have had problems previously with tar including Mac resource fork
files. Could this be what is causing your problem?
James.
On 24 Jul 2007, at 20:42, Antonio Terceiro wrote:
> Hi James,
>
> First of all, thanks for mocha, it''s a really
2006 Sep 11
4
Using rspec and mocha
I prefer to use rspec than test::unit for developing my apps. However
I''ve found its mocking library to be pretty inflexible compared to
Mocha. This isn''t really a surprise since rspec isn''t intended as a
mocking framework, whereas Mocha is. So I''d like to play to both of
their strengths and use rspec as my testing/specification framework
and Mocha do to
2006 Sep 11
4
Using rspec and mocha
I prefer to use rspec than test::unit for developing my apps. However
I''ve found its mocking library to be pretty inflexible compared to
Mocha. This isn''t really a surprise since rspec isn''t intended as a
mocking framework, whereas Mocha is. So I''d like to play to both of
their strengths and use rspec as my testing/specification framework
and Mocha do to
2007 Mar 30
7
problem with using any_instance
Hey all,
I have a question with using mocha in my tests.
In the same test file, I have two tests,
<code>
def test_a
klass.any_instance.stubs(:method_name).returns("something")
klass.new.method_name
...
end
def test_b
...
klass.new.method_name
...
end
</code>
where klass is some class
when the tests run, test _a passes, but test_b had an error like this:
2007 Jan 23
2
SslRequirements plugin and mocha
Hi. I''m loving mocha but have ran into a problem with using the mocha
plugin with a project that has the SslRequirement plugin. It seems
there is some conflict between the two? Any ideas?
$ ruby test/functional/calendar_controller_test.rb
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:478:in
`const_missing'': uninitialized constant