David, >>>> Depending on action, it is either successful response or response >>>> that redirects somewhere (but not to login, since user is >>>> "proven" to >>>> be authenticated). In this example, I really don't want to care, >>>> whether it was successful response or redirection to somewhere, >>>> until >>>> it is not a redirection to login URL. >>>> >>>> Stupid enough? >>> >>> That's not a fair question. >>> >>> Wanna submit a patch? >>> >> >> With please — the code was above, once I will understand where should >> I put a spec for it. > > rspec_on_rails/spec/rails/matchers/redirect_to_spec.rb
That wasn't an issue, I'd rather was thinking where to place it within this file. Anyway, patch is submitted. Thank you, Yurii. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users