Your routes.rb looks funky. Are you running edge rails?
It's worthwhile if you're set on restful stuff.
I don't think the name_prefix and path_prefix stuff is really necessary.
My nested routes read more like
map.resources :groups
groups.resources :admins
end
'rake routes > /tmp/route
I have googled and browsed through spec-users archives, but didn't
find anything different.
I used rspec scaffold command to generate a mvc for groups, I used
nested controller so I could have a separate interface for admin.
the specs are the same as generated, so I won't post the whole thing.
I
On Oct 27, 2007, at 7:31 PM, David Chelimsky wrote:
> On 10/27/07, Scott Taylor <[EMAIL PROTECTED]> wrote:
>>
>> Is this the appropriate place to talk about spec_distributed? If
>> not, I'll post the spec-ext (seemingly dead) mailing list on
>> rubyforge...
>>
>> I was able to run a non-rails pr
On 10/27/07, Scott Taylor <[EMAIL PROTECTED]> wrote:
>
> Is this the appropriate place to talk about spec_distributed? If
> not, I'll post the spec-ext (seemingly dead) mailing list on
> rubyforge...
>
> I was able to run a non-rails project with
> Spec::Distributed::RindaSlaveRunner (and RindaMas
Is this the appropriate place to talk about spec_distributed? If
not, I'll post the spec-ext (seemingly dead) mailing list on
rubyforge...
I was able to run a non-rails project with
Spec::Distributed::RindaSlaveRunner (and RindaMasterRunner). But I'm
stumped on how to do it with a rails
On Oct 27, 2007, at 3:36 pm, David Chelimsky wrote:
> Bulky setup is a design smell. That doesn't mean it never happens, but
> when it does you should ask yourself what you can do to improve the
> design. If you're not familiar with the Law of Demeter, search around
> for it and give it some thou
On Oct 27, 2007, at 5:10 PM, aslak hellesoy wrote:
> Since there is nothing RSpec in the backtrace this look like an RCov
> or REXML bug
>
Maybe it relates to the invalid XHTML. I'll report back when that is
fixed.
Thanks Aslak,
Scott
___
rspec-u
Since there is nothing RSpec in the backtrace this look like an RCov
or REXML bug
Aslak
On 10/27/07, Scott Taylor <[EMAIL PROTECTED]> wrote:
>
> Running rails 1.2.3, rcov (0.8.0.2), rspec trunk (2865) -
>
> When running rake spec:rcov, I'm getting the following:
>
> Finished in 245.717813 seconds
On Oct 27, 2007, at 1:20 PM, David Chelimsky wrote:
> invalid XHTML.
>
> This is coming from rails.
More or less what I figured. Thanks
Scott
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Running rails 1.2.3, rcov (0.8.0.2), rspec trunk (2865) -
When running rake spec:rcov, I'm getting the following:
Finished in 245.717813 seconds
856 examples, 0 failures, 48 pending
/usr/local/lib/ruby/1.8/rexml/text.rb:292:in `normalize': private
method `gsub' called for 0:Fixnum (NoMethodEr
invalid XHTML.
This is coming from rails.
On 10/27/07, Scott Taylor <[EMAIL PROTECTED]> wrote:
>
> I've been seeing the following in some of my view specs:
>
> .P.Pignoring attempt to close spec::mocks::mock:0x7334c4c
> with td
>opened at byte 258, line 20
>closed at byte 287, lin
I've been seeing the following in some of my view specs:
.P.Pignoring attempt to close spec::mocks::mock:0x7334c4c
with td
opened at byte 258, line 20
closed at byte 287, line 20
attributes at open: {}
text around open: "\t\n\t\n\t\t#\n\t\t# #s\n\t\t#http://rubyforge.org/mai
On 10/27/07, Ashley Moran <[EMAIL PROTECTED]> wrote:
> On Oct 27, 2007, at 9:45 am, Tarsoly András wrote:
>
> > This raises up a question in me about mocking or using real-life
> > models, because in some of my specs the setups getting extremely
> > bulky. But this is for another topic :)
Bulky se
On Oct 27, 2007, at 9:45 am, Tarsoly András wrote:
> This raises up a question in me about mocking or using real-life
> models, because in some of my specs the setups getting extremely
> bulky. But this is for another topic :)
Well while you have everyone's attention :)
Often you can factor out
On 27.10.2007, at 8.54, Pat Maddox wrote:
> On 10/26/07, Leslie Freeman <[EMAIL PROTECTED]> wrote:
>> Hello,
>> I'm working on specs for a controller that handles authentication
>> using the restful_authentication plugin. I'm trying to find a
>> resource (tutorial or examples, if possible) about
On 2007.10.27., at 7:18, David Chelimsky wrote:
> and_raise(ActiveRecord::RecordInvalid.new(@option))
>
> Sorry if I led you astray on that one.
>
No problems, actually it makes perfect sense, since you want @option
to have all the proper error messages and such.
After adjusting the specs lik
16 matches
Mail list logo