search for: tpo2

Displaying 7 results from an estimated 7 matches for "tpo2".

Did you mean: tpo
2006 Dec 14
3
Stubbing constructiors
This works: class X def X.initialize( stuff ) end end X.initialize("bla") However stubbing it doesn,t: require ''test/unit'' require ''stubba'' class X def X.initialize( stuff ) end end class XTest < Test::Unit::TestCase def test_ X.stubs(:initialize).with("bla")
2006 Dec 14
2
public SVN dead?
James Mead wrote: > Trunk has moved on considerably since the last release. I really must > get round to releasing again soon. Righty, right. I''ve tried: svn checkout svn://rubyforge.org/var/svn/mocha as documented here [1], but svn will just hang forever. Accessing any of the following: [svn|http[s]]://rubyforge.org/var/svn/mocha[/[trunk[/]]] either through the svn
2006 Dec 13
1
Mocha: and there''s an "init.rb" in the SVN too
Sorry for the spam avalanche - there''s an init.rb file in the trunc SVN branch too, which I''m not so sure about whether to include it or not in the Debian package... *t ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
2006 Dec 13
1
published Mocha tarball is missing the expamples/ dir
Hello James, am trying to package Mocha for Debian and have noticed, that both the tarball and the zip are missing the examples/ directory. *t ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
2007 Jan 11
4
counter-intuitive behaveour when passing a proc to Mocha::Expectation#returns
Let''s say that I have a procedure that: * gets the number of bytes to write into some file * and returns the number of successfully written bytes def save( text, len ) This procedure is being used all over the place especially inside the method "process" which I want to test. Thus in order not to polute my filesystem I stub the "save" procedure. But of course in
2006 Dec 14
1
Patch: make rdoc of lib/mocha/object.rb instead of lib/stubba/object.rb
Index: Rakefile =================================================================== --- Rakefile (revision 73) +++ Rakefile (working copy) @@ -23,7 +23,7 @@ task.rdoc_dir = ''doc'' task.template = "html_with_google_analytics" task.options << "--line-numbers" << "--inline-source" -
2015 May 25
2
fsck failing to notice that the block device was pulled out from under it?
Hello, tl;dr: it seems like fsck fails to notice when the block device disappears from under it. I have the following setup: * external USB disk * a partition with LUKS in it * ext4 filesystem inside the LUKS block device While doing backups to it I noticed that after some time backups would fail with an error (failed to write, ). In the following log I'm attaching the disk, enabling LUKS