Railsters: I just installed fixture_scenarios ... http://fixture-scenarios.googlecode.com/svn/trunk/fixture_scenarios ...into a project with some RSpec specifications. They all went kablooey. I didn''t even create a scenario; the system just started calling its version of fixtures(). The normal tests pass and the RSpec ones unanimously emit: TypeError in ''Context (verbose situation...)'' can''t convert nil into String ..lib/fixture_scenarios.rb:108:in `open'' ..lib/fixture_scenarios.rb:108:in `read_fixture_files'' ..lib/fixture_scenarios.rb:66:in `initialize'' ..lib/fixture_scenarios.rb:29:in `create_fixtures'' ..lib/fixture_scenarios.rb:28:in `create_fixtures'' ..lib/fixture_scenarios.rb:26:in `create_fixtures'' ..lib/fixture_scenarios.rb:257:in `load_fixtures'' plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/model.rb:12:in `before_eval'' The project is heavily scenario-dependent, so if it comes to a choice we know which one we will save and which we will lose... Has anyone encountered this? Can''t fixture_scenarios and RSpec live together in peace and harmony? -- Phlip --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
David Chelimsky
2007-Sep-23 17:19 UTC
Re: Do fixture_scenarios and RSpec peacibly coexist?
On 9/20/07, Phlip <phlip2005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Railsters: > > I just installed fixture_scenarios ... > > http://fixture-scenarios.googlecode.com/svn/trunk/fixture_scenarios > > ...into a project with some RSpec specifications. They all went kablooey. > > I didn''t even create a scenario; the system just started calling its version > of fixtures(). The normal tests pass and the RSpec ones unanimously emit: > > TypeError in ''Context (verbose situation...)'' > can''t convert nil into String > ..lib/fixture_scenarios.rb:108:in `open'' > ..lib/fixture_scenarios.rb:108:in `read_fixture_files'' > ..lib/fixture_scenarios.rb:66:in `initialize'' > ..lib/fixture_scenarios.rb:29:in `create_fixtures'' > ..lib/fixture_scenarios.rb:28:in `create_fixtures'' > ..lib/fixture_scenarios.rb:26:in `create_fixtures'' > ..lib/fixture_scenarios.rb:257:in `load_fixtures'' > plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/model.rb:12:in > `before_eval'' > > The project is heavily scenario-dependent, so if it comes to a choice we > know which one we will save and which we will lose... > > Has anyone encountered this? Can''t fixture_scenarios and RSpec live together > in peace and harmony?Sure they can. Just grab the current trunk or the next release (1.1.0 - coming soon)> > -- > Phlip > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---