On Sat, Jun 12, 2010 at 7:18 AM, David Chelimsky wrote:
> On Sat, Jun 12, 2010 at 7:04 AM, David Chelimsky wrote:
>> On Sat, Jun 12, 2010 at 7:01 AM, David Chelimsky
>> wrote:
>>> On Fri, Jun 11, 2010 at 2:22 PM, Peter Fitzgibbons
>>> wrote:
This came out of the mailer generator w/ Rspec-
On Jun 12, 2010, at 9:05 AM, Stephen Smithstone wrote:
> On 11/06/2010 03:07, Joseph DelCioppio wrote:
>>
>> Guys,
>>
>> I've got a private controller method which acts as a before_filter
>> that I'm trying to stub.
>>
>> class TasksController < ApplicationController
>> before_filter :load_u
What I would do maybe not the best solution is to
control what is returned in current user so if you want to test that
the redirect works then
make current_user return nil then the redirect should work and to get
the filter to pass stub the current user to return an instance that has
an id tha
On Sat, Jun 12, 2010 at 7:01 AM, David Chelimsky wrote:
> On Fri, Jun 11, 2010 at 2:22 PM, Peter Fitzgibbons
> wrote:
>> This came out of the mailer generator w/ Rspec-rails installed :
>>
>> describe Notifier do
>> it "should deliver activation instructions message" do
>> @expected.subject
On Sat, Jun 12, 2010 at 7:04 AM, David Chelimsky wrote:
> On Sat, Jun 12, 2010 at 7:01 AM, David Chelimsky wrote:
>> On Fri, Jun 11, 2010 at 2:22 PM, Peter Fitzgibbons
>> wrote:
>>> This came out of the mailer generator w/ Rspec-rails installed :
>>>
>>> describe Notifier do
>>> it "should del
On Fri, Jun 11, 2010 at 5:24 PM, David Chelimsky wrote:
> On Fri, Jun 11, 2010 at 2:53 PM, Rick DeNatale
> wrote:
>> On Fri, Jun 11, 2010 at 11:17 AM, David Chelimsky
>> wrote:
>>> On Jun 11, 2010, at 10:56 AM, Rick DeNatale wrote:
>>>
On Thu, Jun 10, 2010 at 4:10 PM, David Chelimsky
>>
On Fri, Jun 11, 2010 at 2:22 PM, Peter Fitzgibbons
wrote:
> This came out of the mailer generator w/ Rspec-rails installed :
>
> describe Notifier do
> it "should deliver activation instructions message" do
> @expected.subject = "Activation instructions"
> @expected.to = "t...@examp
On Fri, Jun 11, 2010 at 1:49 PM, rogerdpack wrote:
> The wiki (especially the index on its right hand)
> http://wiki.github.com/dchelimsky/rspec/
> currently (to me) feels a bit hard to navigate.
>
> Given that my one request to github to allow for orderable right hand
> index was denied, I was w
On 11 Jun 2010, at 23:54, juange wrote:
> Hi,
>
> I was doing some testing to mi controller and a error raise, and it's
> driving me crazy. This are the lines that I wanna test:
>
>@cloning_vector = CloningVector.new(params[:cloning_vector])
>@cloning_vector.sequence = Sequence.new(para