On Wed, 2007-11-07 at 06:39 +0100, Chris Olsen wrote:
> but when the specs are run I get errors saying that the country and
> province object properties are null
> 11)
> NoMethodError in 'Address additional properties should ensure spacing
> between the st/ave on the address'
> You have a nil obje
I have an address model with country_id and province_id fields
There is also a full_address method that returns an address that is in a
format that the google maps api will be able to return a long-lat
coords.
Within the full_address method there is a call to obtain the
province/state and country
I've been having good luck with this up to now, but then got a
mismatch today. It seems the svn servers on Rubyforge have been a bit
spotty -- or at least that's how it seems. They have been closing
connections and maybe that's how I got out of sync.
Thx
On Nov 6, 2007, at 3:01 PM, David Ch
On Nov 6, 2007 4:18 PM, Steve Ross <[EMAIL PROTECTED]> wrote:
> I have a project with rspec installed as a plugin using
> svn:externals. Here are my externals:
>
> rspec_on_railssvn://rubyforge.org/var/svn/rspec/trunk/
> rspec_on_rails
> rspec svn://rubyforge
I have a project with rspec installed as a plugin using
svn:externals. Here are my externals:
rspec_on_railssvn://rubyforge.org/var/svn/rspec/trunk/
rspec_on_rails
rspec svn://rubyforge.org/var/svn/rspec/trunk/
rspec
I just did an svn up on both and now
I have a project with rspec installed as a plugin using
svn:externals. Here are my externals:
rspec_on_railssvn://rubyforge.org/var/svn/rspec/trunk/
rspec_on_rails
rspec svn://rubyforge.org/var/svn/rspec/trunk/
rspec
I just did an svn up on both and now
Thanks for the help David.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Nov 6, 2007 12:56 PM, Chris Olsen <[EMAIL PROTECTED]> wrote:
> I can't figure out why I am getting a failure. It renders out fine in
> the browser.
>
> New member
>
> <%= error_messages_for :member %>
>
> <% form_for(:member, :url => members_path) do |f| %>
>
>
> Member Info
> First
I can't figure out why I am getting a failure. It renders out fine in
the browser.
New member
<%= error_messages_for :member %>
<% form_for(:member, :url => members_path) do |f| %>
Member Info
First Name: <%=
f.text_field :first_name %>
Last Name: <%=
f.text_field :last_name %
On 6 Nov 2007, at 14:40, Jim Lindley wrote:
> Tom, there is likely a better path then the one I'm going down, and I
> would love to hear it. I am no RSpec expert.
Neither am I! From David's response it sounds as though there isn't a
particularly tidy way to solve this problem at the moment, so I
On 6 Nov 2007, at 14:39, David Chelimsky wrote:
>> I'm hoping that this sort of "okay, you
>> understand the basics, but NOW what?" issue is the kind of thing that
>> the hotly-anticipated RSpec book will address, because any
>> information
>> about best practice in this area is really lacking
>
> Yeah, this is fine for a simple mixin with only one shared behaviour,
> but the problem is that a real chunk of mixed-in functionality will
> probably need many behaviours that correspond to different initial
> states (provided you're behaving yourself and not doing too much state
> setup within
On Nov 6, 2007 8:11 AM, Tom Stuart <[EMAIL PROTECTED]> wrote:
> On 6 Nov 2007, at 02:00, Jim Lindley wrote:
> > Add an additional describe block for the class that you're including
> > the module into, and then setup a genericly named object in the before
> > block
> [...]
> >
> > # page_spec.rb
>
On 6 Nov 2007, at 02:00, Jim Lindley wrote:
> Add an additional describe block for the class that you're including
> the module into, and then setup a genericly named object in the before
> block
[...]
>
> # page_spec.rb
> describe Page, "should include publishing features" do
> include Publishabl
> > Can you show some of your code that needs to be tested?
>
> Actually, we'd hope that the code doesn't exist yet. This is Behaviour
> DRIVEN Development, after all.
>
Old habits, my apologies.
___
rspec-users mailing list
rspec-users@rubyforge.org
ht
On Nov 6, 2007 6:51 AM, Jim Lindley <[EMAIL PROTECTED]> wrote:
> >
> > I need to write the testcase for fileimport.
> >
>
> Can you show some of your code that needs to be tested?
Actually, we'd hope that the code doesn't exist yet. This is Behaviour
DRIVEN Development, after all.
Can you tell us
>
> I need to write the testcase for fileimport.
>
Can you show some of your code that needs to be tested?
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hi Friends,
I need to write the testcase for fileimport.
Pls give me any idea
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
18 matches
Mail list logo