That fixes it. Any idea why transactions are throwing that warning? I mean, it's just an annoyance, since all of the tests still run, but I would like to get rid of it if possible.<br><br>-Chris<br><br><div><span class="gmail_quote">
On 3/15/07, <b class="gmail_sendername">aslak hellesoy</b> <<a href="mailto:aslak.hellesoy@gmail.com">aslak.hellesoy@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What happens if you turn off transactions?<br><br>On 3/15/07, Chris Hoffman <<a href="mailto:bosshoff@gmail.com">bosshoff@gmail.com</a>> wrote:<br>> Yes, and I added my own customizations back in. Other than helper methods,
<br>> I have extended the Spec::Rails::Runner thusly:<br>><br>> module Spec<br>> module Rails<br>> module Runner<br>> class EvalContext < Test::Unit::TestCase<br>> self.use_transactional_fixtures
= true<br>> self.use_instantiated_fixtures = false<br>> self.fixture_path = RAILS_ROOT + '/spec/fixtures'<br>><br>> # You can set up your global fixtures here, or you<br>> # can do it in individual contexts using "fixtures :table_a,
<br>> table_b".<br>> #<br>> #self.global_fixtures = :table_a, :table_b<br>><br>> # for breakpoint support<br>> require 'active_support/breakpoint'<br>> include Breakpoint
<br>><br>> include HpricotSpecHelper<br>> end<br>> end<br>> end<br>> end<br>><br>> Is there something that jumps out at you?<br>><br>><br>> On 3/15/07, David Chelimsky <
<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>> wrote:<br>> > spec/spec_helper.rb has changed. Did you run script/generate rspec?<br>> ><br>> > On 3/15/07, Chris Hoffman <<a href="mailto:bosshoff@gmail.com">
bosshoff@gmail.com</a>> wrote:<br>> > > Hello,<br>> > > I have recently upgraded to the 0.8.2 release of rSpec, and I am<br>> receiving<br>> > > the following message with each view spec execution:
<br>> > ><br>> > > WARNING: there is no transaction in progress<br>> > ><br>> > > I have upgraded the rspec_on_rails plugin as well, and both the model<br>> and<br>> > > controller tests are working flawlessly. Is there some simple step I
<br>> > > missed? thanks for the input.<br>> > ><br>> > > -Chris<br>> > ><br>> > > _______________________________________________<br>> > > rspec-users mailing list<br>
> > > <a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>> > > <a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>
> > ><br>> > _______________________________________________<br>> > rspec-users mailing list<br>> > <a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>> > <a href="http://rubyforge.org/mailman/listinfo/rspec-users">
http://rubyforge.org/mailman/listinfo/rspec-users</a><br>> ><br>><br>><br>> _______________________________________________<br>> rspec-users mailing list<br>> <a href="mailto:rspec-users@rubyforge.org">
rspec-users@rubyforge.org</a><br>> <a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>><br>_______________________________________________<br>rspec-users mailing list
<br><a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/rspec-users">http://rubyforge.org/mailman/listinfo/rspec-users</a><br></blockquote></div><br>