[rspec-users] Fixtures problem with Rails plugin

2010-01-03 Thread John j. Cuckler
Hi, I just wrote some specs for a rails plugin, I'm using some fixtures and rake:spec:plugins works fine as long as there is only this plugin loaded in the application, but if I add another one it doesn't load fixtures. Apart from that, everything is working. I added this in my plugin spec file to

Re: [rspec-users] more verbosity for be_an?

2010-01-03 Thread rogerdpack
> > The very first test I thought up was "this method should return an > > integer" so kind of a basic test for a not yet existent method. > > Isn't this a bit anti-ruby though. Surely the things we should be testing is > that the object exists, responds to certain messages and gives certain > valu

Re: [rspec-users] more verbosity for be_an?

2010-01-03 Thread Andrew Premdas
2010/1/3 rogerdpack > > > The very first test I thought up was "this method should return an > > > integer" so kind of a basic test for a not yet existent method. > > > > Isn't this a bit anti-ruby though. Surely the things we should be testing > is > > that the object exists, responds to certain

Re: [rspec-users] more verbosity for be_an?

2010-01-03 Thread Andrew Premdas
2010/1/2 David Chelimsky > > > On Sat, Jan 2, 2010 at 3:23 PM, Andrew Premdas wrote: > >> 2009/12/30 rogerdpack >> >> > What about something like: >>> > >>> > expected # => Fixnum to be a kind of Fixnum >>> > >>> > That is more aligned with other failure messages. WDYT? >>> >>> I quite like i