Displaying 15 results from an estimated 15 matches similar to: "rspec vs. test::more"
2008 Jun 13
1
shallow over http or ftp not supported
I am trying to install a custom plugin in my Rails app:
script/plugin install http://git.eyequeue.net/plugins/mt_capistrano.git
Instead of installing the plugin, I get the following error:
shallow over http or ftp not supported
Any ideas on how to fix this? Is it OK to do a git clone in my vendor/
plugins directory?
--~--~---------~--~----~------------~-------~--~----~
You received
2008 Jun 01
6
!= again
Hey!
I have implemented a quick solution for the should != .. , should !
~ ... ''problem''.
It uses source code inspection (I think it''s the only way) and i''ve
done some
benchmarking to see if it''s really that slow.
A direct comparison of
running ''1.should == 1''
with the unmodified rspec source against the rspec-version with
2007 Sep 27
1
using @variables in an ''it'' block
Hi folks,
I''m somewhat new to the current RSpec release - at work we are still
using 0.8.something, with "context ''blah'' do ... specify ''should
thing'' ..."
We have some helper code to automatically mix-in selenium:
module SeleniumHelper
include SpecHelper
...
def initialize(arg)
@selenium = SeleniumHelper.selenium
end
(selenium.rb
2009 May 04
6
cucumber - when to stub/mock
I''m just curious about this, since my solution involved stubbing a
call to GeoIp.
Is there a good rule of thumb for when you make exceptions to the ''no
stubbing'' philosophy of Cucumber?
My step was: "Given I am accessing the site from Japan," but I can
think of other situations - mostly when interacting with web services,
that I''d probably
2008 Sep 23
3
Silly answers to silly questions for a silly Noob.
OK, I'm a noob to Wine. I've figured some stuff out with Wine and it sees everything I want it to see just fine.
OK, I understand why you don't want Wine to see your windows install, but I put all my program installs on a separate partition. Now with this in mind can I just have Wine look at my Program Files and run my apps from there, or do I have to reinstall all the apps I want
2007 Oct 25
0
How to spec a render:update call
Hi folks.
I''m trying to work out how to verify that a controller has called a
render:update block similar to:
render :update do |page|
page.replace_html ''edit'', :partial => ''form'', :locals => { :operation
=> ''edit'', :submit_button_value => ''Update'' }
end
We used to test this with something
2008 Jun 06
2
Problems with view spec and mocking will_paginate
Hi all, I have some failures that not I don''t understand
this the pastie with index.erb.html
http://pastie.org/private/zgohh6dcts04wpfagfgz5q
and this is the pastie for view''s spec:
http://pastie.org/210485
and the failure:
1)
ActionView::TemplateError in ''/posts/index.html.erb should render list
of posts''
undefined method `count'' for
2008 Mar 01
5
rspec with continuations: very strange
I appear to have written code which travels backwards through time:
http://www.vimeo.com/742590
This disturbs me immensely. If anyone can explain it, that would be cool.
I think it''s an illusion brought about by how RSpec wraps the code it
executes, and by the sheer weirdness of continuations.
--
Giles Bowkett
Blog: http://gilesbowkett.blogspot.com
Portfolio:
2008 Dec 30
7
[Xen-research] ISO test Downloads Availability ?
Hi,
I seem to remember that there used to be ISO downloads of Xen
available, for people wanting to give it an easy way for a test drive,
and to submit (automated) feedback on which machines and
configurations Xen ran (in)correctly. However, I do not seem to be
able to find these ISO images for download at Xen.org anymore. Has the
project stopped making these useful test images - and if so, why ?
2008 Dec 30
7
[Xen-research] ISO test Downloads Availability ?
Hi,
I seem to remember that there used to be ISO downloads of Xen
available, for people wanting to give it an easy way for a test drive,
and to submit (automated) feedback on which machines and
configurations Xen ran (in)correctly. However, I do not seem to be
able to find these ISO images for download at Xen.org anymore. Has the
project stopped making these useful test images - and if so, why ?
2009 Jan 15
2
R package tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I was wondering if anyone could point me in the right direction for reading up on writing tests in
R. I'm writing some functions for inclusion into a package and would like to test them to ensure
they're doing what I expect them to do.
Are these approaches used for testing packages in CRAN?
Cheers,
Nathan
- --
-
2003 Nov 24
4
OT: reasoning behind open vs. closed SSH
Let me preface this message by saying that the "General Discusion" mailing list archived was
filled with 99% spam, so I though I'd post here instead to get some real people.
My employer is using SSH to replace rcp, rsh and rlogin in its UNIX products.
Our experience so far is that the commercial product is slow(1), and difficult to use in scripts
where standard input and output are
2005 Mar 02
2
icecast2yp server problem...
hi oddsock, hi everyone!
i have set up an icecast2yp, took a while to get it to compile, but now
it works. the only problem is that the hostnames have all dots replaced
with dashes in the generated playlists
james sheldon has reported this problem here a year ago
(http://lists.xiph.org/pipermail/icecast/2004-March/006729.html), but
nobody responded, so i bring it up again.
i dumped the
2009 Jun 30
43
Workstations and Certs
I am trying to come up with a workable solution in managing numerous
Mac workstations allowing a high degree of flexibility with regards to
certs.
My puppet environment is setup to application installation on machines
that have been ''imaged'' with a base OS and the puppet and facter apps.
So, when a Mac is ''imaged'' and subsequently re-booted, puppet is run
at
2008 Nov 29
0
Remote Features Screencast
Hi there,
i have written a little Ruby Program called RemoteFeature (It?s more a
Hack as of now).
It lets you run Cucumber/RSpec Features that are defined in a
37Signals-Writeboard and updates
the Writeboard automagically. I have made a Screencast about this. It is
available at my blog:
http://matthiashennemeyer.com .
Or direct: http://chocolateco.de/images/remotefeaturesintro.mov
Do you have some