Re: [rspec-users] Fixjour and others

2009-02-08 Thread Pat Nakajima
I think that named fixtures are primarily a matter of taste. With that being said, I did want to explain mine a bit. > When extra attributes are needed as well, I think the test can become too > busy. > A lot of time, I feel like processing the overrides hash is just a bandaid over something mis

Re: [rspec-users] Fixjour and others

2009-02-08 Thread Scott Taylor
Pat Nakajima wrote: I started writing up a response about why I wrote Fixjour, and why I want it to be its own project, but it got really long. Here's a Markdownified gist: http://gist.github.com/60389. For the record, I think FR is a great tool (I link to it in Fixjour's README), it's just not

Re: [rspec-users] Fixjour and others

2009-02-08 Thread Pat Nakajima
I started writing up a response about why I wrote Fixjour, and why I want it to be its own project, but it got really long. Here's a Markdownified gist: http://gist.github.com/60389. For the record, I think FR is a great tool (I link to it in Fixjour's README), it's just not for me. Read the gist

Re: [rspec-users] Fixjour and others

2009-02-07 Thread Jim Morris
Well sometimes one can't use an existing library becuase of some reason or other, like in my case not using ActiveRecord. So I came up with yet another way to do it, I think it is a hyvrid between Fixtures and Factories. outlined here... http://blog.wolfman.com/posts/42 On Feb 7, 8:16 am, Jay

Re: [rspec-users] Fixjour and others

2009-02-07 Thread Jay Levitt
Scott Taylor wrote: > [ "So my main objective with fixjour is to have the simplest implementation possible, with a very simple API. So it will create the following methods: new_[model], create_[model], and valid_[model]_attributes." This seems to be an anti-pattern in the Rails community: "I

Re: [rspec-users] Fixjour and others

2009-02-06 Thread Scott Taylor
Juanma Cervera wrote: Hello I have seen that some people in this list is using Fixjour as the replacement of fixtures. But I can't understand why it is superior or better than other approaches to the subject like Machinist o FactoryGirl. What are the problems this library resolve? Can somebody e

Re: [rspec-users] Fixjour and others

2009-02-06 Thread Juanma Cervera
I'm sorry for the question. I have just seen that this question is already treated in a very near thread. I didn't see it. Juanma -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/ma

[rspec-users] Fixjour and others

2009-02-06 Thread Juanma Cervera
Hello I have seen that some people in this list is using Fixjour as the replacement of fixtures. But I can't understand why it is superior or better than other approaches to the subject like Machinist o FactoryGirl. What are the problems this library resolve? Can somebody explain this a little. T