i have a helper like this:
def swf_upload_tag( upload_url, options = {}, &block)
# irelavant stuff removed
button_text = capture(&block)
unless button_text.blank?
options.merge!( :button_text => button_text )
end
# irelavant stuff removed
concat( content_tag( :div, '
On Mar 5, 3:18 pm, Higgaion wrote:
> On Mar 5, 1:09 pm, David Chelimsky wrote:
>
> > On Thu, Mar 5, 2009 at 12:32 PM, Higgaion
> > wrote:
> > > putting --drb in my spec.opts file has some unexpected results.
>
> > > $ spec --drb --colour --for
On Mar 5, 1:09 pm, David Chelimsky wrote:
> On Thu, Mar 5, 2009 at 12:32 PM, Higgaion wrote:
> > putting --drb in my spec.opts file has some unexpected results.
>
> > $ spec --drb --colour --format specdoc --loadby mtime --reverse -G
> > spec/spec.opts
> > $ spec
putting --drb in my spec.opts file has some unexpected results.
$ spec --drb --colour --format specdoc --loadby mtime --reverse -G
spec/spec.opts
$ spec spec/models/a_model_spec.rb -O spec/spec.opts
$
it just returns right away, with no output.
but...
$ spec --colour --format specdoc --loadby m
I'm in the same boat - trying to test a helper that uses the
implicit :controller in a link_to, and I get an exception from rails:
ActionController::RoutingError in 'ApplicationHelper breadcrumbs
should return a link to elems section'
Need controller and action!
/opt/local/lib/ruby/gems/1.8/gems/ac