Yep. I just changed current_member by @member, and it works now. Well,
it's now asking me to create the "new" method which is what I expected
to receive. Thanks,
On Jul 10, 4:47 pm, David Chelimsky wrote:
> On Jul 10, 2010, at 3:38 PM, Daniel Salmeron Amselem wrote:
>
> > You're right David, my f
On Jul 10, 2010, at 3:38 PM, Daniel Salmeron Amselem wrote:
> You're right David, my fault. Than you very much for all your help.
You got it working then?
> On Jul 10, 4:32 pm, David Chelimsky wrote:
>> On Jul 10, 2010, at 3:21 PM, Daniel Salmeron Amselem wrote:
>>> On Jul 10, 3:53 pm, David Che
You're right David, my fault. Than you very much for all your help.
On Jul 10, 4:32 pm, David Chelimsky wrote:
> On Jul 10, 2010, at 3:21 PM, Daniel Salmeron Amselem wrote:
>
>
>
>
>
> > On Jul 10, 3:53 pm, David Chelimsky wrote:
> >> On Jul 10, 2010, at 2:45 PM, Daniel Salmeron Amselem wrote:
>
On Jul 10, 2010, at 3:21 PM, Daniel Salmeron Amselem wrote:
> On Jul 10, 3:53 pm, David Chelimsky wrote:
>> On Jul 10, 2010, at 2:45 PM, Daniel Salmeron Amselem wrote:
>>> On Jul 10, 2:31 pm, David Chelimsky wrote:
On Jul 10, 2010, at 1:26 PM, Daniel Salmeron Amselem wrote:
>>
> On Jul
Oh, I tried that too, but then current_member doesn't work
1)
NameError in 'PeopleController Methods should render form for a new
person on GET people#new'
undefined local variable or method `current_member' for
#
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/
test_process
On Jul 10, 2010, at 2:45 PM, Daniel Salmeron Amselem wrote:
>
> On Jul 10, 2:31 pm, David Chelimsky wrote:
>> On Jul 10, 2010, at 1:26 PM, Daniel Salmeron Amselem wrote:
>>
>>
>>
>>
>>
>>> On Jul 9, 2:45 pm, Daniel Salmeron Amselem
>>> wrote:
I've been trying to test a very simple act
On Jul 9, 2010, at 7:37 PM, Patrick Gannon wrote:
>
> On Mon, Jul 5, 2010 at 1:26 PM, David Chelimsky wrote:
> I just pushed what I believe to be a fix for this - please try pointing
> Gemfile to the git repos again. It should work if you do this with all of
> them:
>
> gem "rspec-rails",
Thanks David, but could you explain me how should I use this before do
block in order to sign in an user? I am not a very experienced Rails
developer and I tried different things like:
13before :each do
14 # @member = Factory.create(:member)
15 request.env['warden'].stub(:authenticat
On Jul 10, 2010, at 1:26 PM, Daniel Salmeron Amselem wrote:
> On Jul 9, 2:45 pm, Daniel Salmeron Amselem
> wrote:
>> I've been trying to test a very simple action on a controller with
>> this setup:
>>
>> rspec 1.3.0
>> ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
>> Rails 2.3.8
I've been doing some research on this problem, and I found this
discussion on Lighthouse:
https://rspec.lighthouseapp.com/projects/5645/tickets/963-request-is-nil
As it seems, this is not a problem with Rails 3 anymore, but how can I
make it work for rails 2.3.8?
On Jul 9, 2:45 pm, Daniel Salmer
El 10/07/2010, a las 12:21, Wincent Colaiuta escribió:
> I think the biggest speed gain wouldn't be from doing more mocking and
> stubbing, but actually from swapping in an in-memory database instead of
> MySQL. Not sure how hard that would be, to be honest. (Wondering if it's
> possible to run
El 10/07/2010, a las 05:29, Phillip Koebbe escribió:
>> It is not "better" nor "the right" way, it is just "a" way of doing it. I've
>> also written controller specs where I ended up mocking left, right and
>> center, but if I can take the state-based approach I generally prefer it.
>> The app
12 matches
Mail list logo