search for: korni

Displaying 5 results from an estimated 5 matches for "korni".

Did you mean: korn
2008 Mar 04
3
rspec vs. test::more
Hey all, you HAVE to read this blog post: http://blog.jrock.us/articles/RSpec%20vs.%20Test::More.pod#comments My favorite parts are: 1) ... some rspec code ... > For the sake of comparison lets translate this directly into perl: ... some perl code ... 2) >First, notice that the rspec-version isn''t actually ruby code. It''s not any real language. For the sake of
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
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 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
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