Displaying 20 results from an estimated 200 matches similar to: "Mocha 0.4 released"
2006 Sep 03
1
Slimmed down version for inclusion in Rails?
I''m pushing a major overhaul in testing the Rails codebase. Mocha and
stubba make my life easy so that''s what I''m using. The first major
patch using them is in RailTies
(http://dev.rubyonrails.org/ticket/5970) now. I spoke to DHH today
about using it in the other libraries and I think it''ll be ok, but
they really want to include as little code as needed. I
2012 Dec 07
0
[Bug 1585] Allow an `Include' option which reads another config file in place and does not error out when `Include' file not readable
https://bugzilla.mindrot.org/show_bug.cgi?id=1585
Tomas Pospisek <tpo_deb at sourcepole.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tpo_deb at sourcepole.ch
--- Comment #2 from Tomas Pospisek <tpo_deb at sourcepole.ch> ---
+1 I needed
2006 Jul 15
5
Textmate command to display Active Record object attributes
I hacked together a command for textmate that displays Active Record
object attributes in a tooltip. Just thought others might find it
useful.
Chris
[1] http://blog.seagul.co.uk/articles/2006/07/14/textmate-command-to-display-active-record-column-attributes
2006 Sep 13
2
Problem with RSpec and Mocha/Stubba
I''ve recently upgraded to the latest versions of Mocha and RSpec
(0.3.2 and 0.6.3 respectively) and I''m no longer able to use Mocha/
Stubba with RSpec. Its actually only Stubba I''m interested in as I
use RSpec''s built-in mocking library.
I require stubba in my spec file but whenever I try and run my spec
it fails with the error:
Unintialized constant
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 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
2008 Feb 29
0
Bug#466683: libxenstore3.0 could use a better description too
Aleksi Suhonen <debian-reportbug-2004 at ssd.axu.tm> reported:
> [...]
> Package: xenstore-utils
> [...]
> I would hope that there would be a more descriptive description
> for this package, so I could know if I really need it.
This applies to libxenstore3.0 as well, which includes a description
similarily low on information:
> Xenstore communications library for Xen
2015 Jun 10
0
[Bug 1585] Allow an `Include' option which reads another config file in place and does not error out when `Include' file not readable
https://bugzilla.mindrot.org/show_bug.cgi?id=1585
--- Comment #21 from Tomas Pospisek <tpo_deb at sourcepole.ch> ---
@Jakub Jelen specifically, but to the other people here in general as
well.
I have not studied the proposed patches, but one problem that I am
seeing in general with the approach is, that once we start
including/merging multiple configurations, we will start seeing
conflicts
2016 Apr 15
0
[Bug 1585] Allow an `Include' option which reads another config file in place and does not error out when `Include' file not readable
https://bugzilla.mindrot.org/show_bug.cgi?id=1585
--- Comment #25 from Tomas Pospisek <tpo_deb at sourcepole.ch> ---
Thanks to everybody how contributed patches and helped moving this
featureinto ssh. And in particular to Damien to applying patch and
tests and including the feature!
Thanks
*t
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You
2006 Feb 08
0
sqlite in-memory database for testing
I managed to get this working yesterday on one of our projects.
I''ve written up detailed explanation here[1]
I hope this is of some use to someone else; let me know either way
(especially if I''ve screwed up).
Chris
[1]
http://blog.seagul.co.uk/articles/2006/02/08/in-memory-sqlite-database-for-rails-testing
2006 Dec 25
1
TextMate command to display ActiveRecord model attributes
I''ve written a TextMate command bundle that reminds you the database
columns of an ActiveRecord model displaying them in a tooltip just by
selecting the model name (for example "Account") anywhere in your
code and hooking up the bundle (the way you''ve chosen in the bundle
properties).
It''s available here:
2007 Jul 26
5
Coding standards and whitespace
Recently as a result of using Git I''ve noticed a number of
inconsistencies in the RSpec codebase with respect to whitespace
(mixed line endings, mixed use of spaces and tabs for indentation,
and trailing whitespace at the end of lines). I never would have
noticed, but Git produces nice colorized diff output which highlights
these kinds of inconsistencies.
I wanted to ask if the
2005 Dec 21
10
Investigating Unicode. Take 2, with nastities and allegations.
Well, I see that my last email hasn''t generated any reaction from the
Rails core team. It looks like all of them are the happy users of
"plain text" (which, as we know by now, doesn''t exist, but still).
I apologize in advance for the sore bitterness of this message but I
see that the Rails-core STILL, despite all of the efforts, sees these
issues as something
2007 May 09
4
UI testing framework? (w/o selenium)
Hey all,
I am currently working on coming up w/ an easy to use, developer-centric web
testing framework to test a J2EE app with. (I have 3 rails apps in
production, love rspec, and am currently at a java shop).
I''ve looked at selenium, and it just doesn''t seem like it is ready for prime
time, and the target audience is developers. So, having said that, does
the rspec
2007 Jun 15
0
Fwd: [ mocha-Patches-11583 ] Mocha 0.5.0 throwing unexpected warnings, one line patch included
Begin forwarded message:
> From: <noreply at rubyforge.org>
> Date: 15 June 2007 10:44:07 BDT
> To: noreply at rubyforge.org
> Subject: [ mocha-Patches-11583 ] Mocha 0.5.0 throwing unexpected
> warnings, one line patch included
>
> Patches item #11583, was opened at 2007-06-14 21:28
> You can respond by visiting:
> http://rubyforge.org/tracker/?
>
2018 Apr 13
0
Wine release 3.6
The Wine development release 3.6 is now available.
What's new in this release (see below for details):
- Support for PNG format icons.
- Support for 1D textures.
- More infrastructure for high DPI support.
- OLE data cache improvements.
- Various bug fixes.
The source is available from the following locations:
https://dl.winehq.org/wine/source/3.x/wine-3.6.tar.xz
2011 Jun 17
7
Encoding
What''s a good solution for fixing character encoding problems for
compatibility between ascii and utf-8? The database is postgres and
is encoded in utf-8.
Once in awhile there will be a compatibility error from strings from a
webform.
Is there a command to fix this besides using
a_string.force_encoding(''utf-8'')? Even this doesn''t seem to always
work either.