On Nov 29, 2007 8:44 PM, Olivier Dupuis <[EMAIL PROTECTED]> wrote:
> Thanks again David!
>
> Sorry for the easy question. I should have looked more carefully at the
> documentation.
Please, no apologies. The docs aren't perfect, so while it's good to
know they're there, you should always feel fre
Thanks again David!
Sorry for the easy question. I should have looked more carefully at the
documentation.
Olivier
-Original Message-
From: [EMAIL PROTECTED] on behalf of David Chelimsky
Sent: Thu 11/29/2007 9:29 PM
To: rspec-users
Subject: Re: [rspec-users] Rendering a view and passin
don't you have to do ... assigns[:language] = @language
On 30/11/2007, at 3:29 PM, Olivier Dupuis wrote:
Hello all,
I have a view which display html based on the value of a variable.
Here's the code :
<% if @language == 'e' %>
<%= link_to "Français", :action => :index, :id => "f" %>
On Nov 29, 2007 8:29 PM, Olivier Dupuis <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hello all,
>
> I have a view which display html based on the value of a variable. Here's
> the code :
>
> <% if @language == 'e' %>
><%= link_to "Français", :action => :index, :id => "f" %>
> <% end %>
>
> In my t
Hello all,
I have a view which display html based on the value of a variable. Here's the
code :
<% if @language == 'e' %>
<%= link_to "Français", :action => :index, :id => "f" %>
<% end %>
In my test, I'm trying to set the value of the variable first, but that just
doesn't seem to work :
/me in love
:)
On Nov 29, 2007, at 12:44 PM, Bryan Helmkamp wrote:
> Hey guys,
>
> We developed this plugin while writing my first real set of RSpec
> stories. It's still missing a lot of functionality, but it's useful to
> us as is, so I'm shipping 0.1.0. (Patches welcome. :) )
>
> Code is ava
We've been putting something similar together here:
http://faithfulcode.rubyforge.org/svn/plugins/trunk/spec_integration/
It's for integration testing. The README talks about the navigate_to,
submit_form, and be_showing methods.
--
John Long
http://wiseheartdesign.com
On Nov 29, 2007, at 12:
On 11/29/07, Bryan Helmkamp <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> We developed this plugin while writing my first real set of RSpec
> stories. It's still missing a lot of functionality, but it's useful to
> us as is, so I'm shipping 0.1.0. (Patches welcome. :) )
>
> Code is available at: http:
Hey guys,
We developed this plugin while writing my first real set of RSpec
stories. It's still missing a lot of functionality, but it's useful to
us as is, so I'm shipping 0.1.0. (Patches welcome. :) )
Code is available at: http://svn.eastmedia.net/public/plugins/webrat/
What do you think?
-Br
Great !
As always thanks!
Cheers!
sinclair
On Nov 29, 2007 12:12 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Nov 29, 2007 11:06 AM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> > On Nov 29, 2007 10:55 AM, sinclair bain <[EMAIL PROTECTED]> wrote:
> > > Hey,I just updated from the edge and
On Nov 29, 2007 11:06 AM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Nov 29, 2007 10:55 AM, sinclair bain <[EMAIL PROTECTED]> wrote:
> > Hey,I just updated from the edge and it looks like this _issue_ has
> > resurfaced.
> >
> > Yesterday things were working (stories and specs).
> > No code b
On Nov 29, 2007 1:55 PM, sinclair bain <[EMAIL PROTECTED]> wrote:
> Hey,I just updated from the edge and it looks like this _issue_ has
> resurfaced.
>
> Yesterday things were working (stories and specs).
> No code base changes, only rspec and rspec_on_rails
>
> After updating today I now need to
On Nov 29, 2007 10:55 AM, sinclair bain <[EMAIL PROTECTED]> wrote:
> Hey,I just updated from the edge and it looks like this _issue_ has
> resurfaced.
>
> Yesterday things were working (stories and specs).
> No code base changes, only rspec and rspec_on_rails
>
> After updating today I now need to
Hey,
I just updated from the edge and it looks like this _issue_ has resurfaced.
Yesterday things were working (stories and specs).
No code base changes, only rspec and rspec_on_rails
After updating today I now need to set to false in
the spec_helper.rb
to get the specs running, the stories ar
Hi Brian
>> Any quick idea?
> Pito, have you updated your Textmate Bundle?
I got it from svn yesterday... Should I get it again?
Thanks,
- Pito
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Nov 29, 2007 11:23 AM, Stefan Magnus Landrø <[EMAIL PROTECTED]> wrote:
> It seems like setting up expectations in before blocks, in combination with
> a pending example, makes rake return non-0
>
> We had code similar to this:
>
> describe Model do
> before do
> OtherModel.should_receive (:so
What are people's opinions on which of these two styles is better to
use?
1) before
---
module UserSpecHelper
include GenericSpecHelper
def valid_sms_attributes(phone_number="12345")
{ :phone_number => phone_number }
end
end
describe User, "with phone numb
It seems like setting up expectations in before blocks, in combination with
a pending example, makes rake return non-0
We had code similar to this:
describe Model do
before do
OtherModel.should_receive(:some_method)
end
it "should whatever" do
pending "whatever"
end
end
Removing the expe
On Nov 28, 2007 11:16 AM, Zach Dennis <[EMAIL PROTECTED]> wrote:
>
> On Nov 28, 2007 11:56 AM, Brian Takita <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > Hello Zach. Are you running Rspec 1.0.8 with the Trunk version of the
> > Textmate Bundle?
> > >
> > >
>
> It wasn't 1.0.8, but it was a revisi
On Nov 28, 2007 1:15 PM, R. Pito Salas <[EMAIL PROTECTED]> wrote:
> I am having a (probably much more elementary) problem with the
> bundle. When I try and "run Behavior Description" (shift-ctrl-option
> R) I get an error from TextMate:
>
> /Library/Application Support/TextMate/Bundles/Ruby RSpec.t
20 matches
Mail list logo