I have a GroupController class that inherits from a SecuredController
which have a before filter (before_filter :login_required). This is
using the restul authentication system. I want to mock out the
login_required method so that my GroupController actions don't get
redirected to /sessions/new
On 2/12/08, Ben Mabey <[EMAIL PROTECTED]> wrote:
> I'll check it out when I get a chance. BTW, would you mind posting some
> example code of how you are using the story runner in testing a
> multi-part form?
>
require File.expand_path(File.dirname(__FILE__) + "/helper.rb")
Test::Unit::TestCase.f
Rick DeNatale wrote:
> I've just submitted a rails patch
> http://dev.rubyonrails.org/ticket/11091
>
> This patches actionpack/lib/action_controller/integration.rb so that
> post and put requests automatically get turned into multipart form
> submission requests if they have a parameter or paramete
I've just submitted a rails patch
http://dev.rubyonrails.org/ticket/11091
This patches actionpack/lib/action_controller/integration.rb so that
post and put requests automatically get turned into multipart form
submission requests if they have a parameter or parameters which are
instances of TestUp
I have found the solution to my problem:
I had to patch rspec_on_rails.
See patch attached
http://www.nabble.com/file/p15436545/rspec_on_rails_autotest_hook_exceptions_so_autotest_ignore_rails_folders.diff
rspec_on_rails_autotest_hook_exceptions_so_autotest_ignore_rails_folders.diff
Any questi
Robert Watkins wrote:
> Hi, folks.
>
> I recently (ie on the weekend) came across RSpec, and knew it could be
> the answer to a problem I was looking into - story testing Java code.
> I've written up what I had to do to get it working at
> http://twasink.net/blog/archives/2008/02/rspec_jruby_and
Hi, folks.
I recently (ie on the weekend) came across RSpec, and knew it could be the
answer to a problem I was looking into - story testing Java code. I've
written up what I had to do to get it working at
http://twasink.net/blog/archives/2008/02/rspec_jruby_and.html. Basically, I
took the Account
On 12-feb-2008, at 6:32, [EMAIL PROTECTED] wrote:
>>> Stuff for off-list:
>>> - created with mencoder, I can play with mplayer.
>>>Reports on success or failure of other players welcome.
>>
>> weird codec combo... you should have used thedora or xvid at
>> least :-P
>> (cannot play or even