[rspec-users] Error against latest trunk while testing via spec for model

David Chelimsky
Tue, 13 Feb 2007 11:37:17 -0000

FYI - I just ran our suite and everything related to models ran just
fine with the following:

RSpec rev 1493
Rails rev 6149
ruby 1.8.5
mysql 4.1

On 2/13/07, David Chelimsky <dchelimsky at gmail.com>
wrote:
> On 2/13/07, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:
> > On 2/13/07, Deepak Jois <deepak.jois at gmail.com> wrote:
> > > On 2/13/07, aslak hellesoy <aslak.hellesoy at gmail.com>
wrote:
> > > > Rails version? svn revision?
> > > >
> > > I am running edge rails (HEAD) with rspec trunk HEAD.
>
> Deepak - please provide revision numbers. HEAD is a moving target.
>
> > We haven''t tested RSpec on Rails with Rails Edge because
Rails (or
> > some of its dependencies) seems to exit the ruby interpreter while
> > running the test suite.
> >
> > Until we solve this problem, we cannot ensure compatibility with Edge
Rails
>
> Even after we solve this problem, we will not ensure compatibility
> with edge. There is simply no way for us to do that.
>
> That said, it is important that we hear about problems so that we can
> be reasonably up to date when releases of Rails come out, so thanks
> Deepak for bringing this up. Again, please do include revision numbers
> in the future.
>
> Cheers,
> David
>
>
> >
> > > > On 2/13/07, Deepak Jois <deepak.jois at gmail.com>
wrote:
> > > > > On 2/13/07, aslak hellesoy <aslak.hellesoy at
gmail.com> wrote:
> > > > > > We need the backtrace. Can you run again with
--backtrace
> > > > > >
> > > > > >
> > > > > ==============> > > > > 1)
> > > > > TypeError in ''Given a generated venue_spec.rb
with fixtures loaded
> > > > > fixtures should load two Venues''
> > > > > can''t convert nil into String
> > > > >
/home/deepak/personalcode/worlds/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:251:in
> > > > > `join''
> > > > >
/home/deepak/personalcode/worlds/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:251:in
> > > > > `create_fixtures''
> > > > >
/home/deepak/personalcode/worlds/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:250:in
> > > > > `create_fixtures''
> > > > >
/home/deepak/personalcode/worlds/config/../vendor/rails/activerecord/lib/active_record/base.rb:890:in
> > > > > `silence''
> > > > >
/home/deepak/personalcode/worlds/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:248:in
> > > > > `create_fixtures''
> > > > >
/home/deepak/personalcode/worlds/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:581:in
> > > > > `load_fixtures''
> > > > >
/home/deepak/personalcode/worlds/config/../vendor/rails/activerecord/lib/active_record/fixtures.rb:535:in
> > > > > `setup_with_fixtures''
> > > > >
/home/deepak/personalcode/worlds/vendor/plugins/rspec/lib/spec/runner/context_eval.rb:131:in
> > > > > `create_block_from_parts''
> > > > >
/home/deepak/personalcode/worlds/vendor/plugins/rspec/lib/spec/runner/context_eval.rb:129:in
> > > > > `create_block_from_parts''
> > > > >
/home/deepak/personalcode/worlds/vendor/plugins/rspec/lib/spec/runner/specification.rb:47:in
> > > > > `setup_spec''
> > > > >
/home/deepak/personalcode/worlds/vendor/plugins/rspec/lib/spec/runner/specification.rb:29:in
> > > > > `run''
> > > > >
/home/deepak/personalcode/worlds/vendor/plugins/rspec/lib/spec/runner/context.rb:58:in
> > > > > `run''
> > > > >
/home/deepak/personalcode/worlds/vendor/plugins/rspec/lib/spec/runner/context.rb:55:in
> > > > > `run''
> > > > >
/home/deepak/personalcode/worlds/vendor/plugins/rspec/lib/spec/runner/context_runner.rb:23:in
> > > > > `run''
> > > > >
/home/deepak/personalcode/worlds/vendor/plugins/rspec/lib/spec/runner/context_runner.rb:22:in
> > > > > `run''
> > > > >
/home/deepak/personalcode/worlds/vendor/plugins/rspec/lib/spec/runner/command_line.rb:27:in
> > > > > `run''
> > > > > vendor/plugins/rspec/bin/spec:4:
> > > > > =======================> > > > >
> > > > > FWIW, here is my fixtures file file
> > > > >
> > > > > ======> > > > > one:
> > > > >  id: 1
> > > > >  name: LT1
> > > > >  description: Lecture Theatre 1
> > > > >  active: 1
> > > > > two:
> > > > >  id: 2
> > > > >  name: LT2
> > > > >  description: Lecture Theatre 2
> > > > >  active: 0
> > > > > ========> > > > >
> > > > > The schema of the table matches the fields in the YAML
file
> > > > > _______________________________________________
> > > > > rspec-users mailing list
> > > > > rspec-users at rubyforge.org
> > > > > http://rubyforge.org/mailman/listinfo/rspec-users
> > > > >
> > > > _______________________________________________
> > > > rspec-users mailing list
> > > > rspec-users at rubyforge.org
> > > > http://rubyforge.org/mailman/listinfo/rspec-users
> > > >
> > > _______________________________________________
> > > rspec-users mailing list
> > > rspec-users at rubyforge.org
> > > http://rubyforge.org/mailman/listinfo/rspec-users
> > >
> > _______________________________________________
> > rspec-users mailing list
> > rspec-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/rspec-users
> >
>