Re: [rspec-users] Error: undefined method `use_transactional_fixtures

2010-02-26 Thread Jason Fb
This happens when you generate tests pre-Rails 2.3 then upgrade to Rails 2.3. go to test/test_helper.rb and change: class Test::Unit::testCase to: class ActiveSupport::TestCase http://www.datatravels.com/technotes/2009/04/21/rails-error-undefined-method-use_transactional_fix/ waseem ahmad wro

Re: [rspec-users] Error: undefined method `use_transactional_fixtures

2009-01-08 Thread David Chelimsky
On Wed, Jan 7, 2009 at 11:26 PM, waseem ahmad wrote: > I have both the rspec 1.1.11 and rspec-rails 1.1.11 as gems. I had them > plugged in my application too. When I removed them from my application the > problem was solved. The version of both the gems and plugins are same. > > Why did this happ

Re: [rspec-users] Error: undefined method `use_transactional_fixtures

2009-01-07 Thread waseem ahmad
I have both the rspec 1.1.11 and rspec-rails 1.1.11 as gems. I had them plugged in my application too. When I removed them from my application the problem was solved. The version of both the gems and plugins are same. Why did this happen? -- Waseem RwrWrwRwrWrwRwrWrwRwrWrwR B

Re: [rspec-users] Error: undefined method `use_transactional_fixtures

2009-01-07 Thread Mark Wilden
On Wed, Jan 7, 2009 at 10:26 AM, David Chelimsky wrote: > On Wed, Jan 7, 2009 at 12:20 PM, Mark Wilden wrote: > > FWIW, I was getting this error yesterday. I completely uninstalled rspec > and > > rspec-rails (including David's code from GitHub) and reinstalled, and it > > "went away." > > Which

Re: [rspec-users] Error: undefined method `use_transactional_fixtures

2009-01-07 Thread David Chelimsky
On Wed, Jan 7, 2009 at 12:20 PM, Mark Wilden wrote: > FWIW, I was getting this error yesterday. I completely uninstalled rspec and > rspec-rails (including David's code from GitHub) and reinstalled, and it > "went away." Which version did you install after removing everything? > > ///ark > > On

Re: [rspec-users] Error: undefined method `use_transactional_fixtures

2009-01-07 Thread Mark Wilden
FWIW, I was getting this error yesterday. I completely uninstalled rspec and rspec-rails (including David's code from GitHub) and reinstalled, and it "went away." ///ark On Wed, Jan 7, 2009 at 1:49 AM, waseem ahmad wrote: > > > On Wed, Jan 7, 2009 at 2:55 PM, David Chelimsky wrote: > >> Seems l

Re: [rspec-users] Error: undefined method `use_transactional_fixtures

2009-01-07 Thread waseem ahmad
On Wed, Jan 7, 2009 at 2:55 PM, David Chelimsky wrote: > Seems like it's not loading up rspec-rails' Configuration object. In > order for that to happen implicitly, the specs need to be in any of > spec/models, spec/controllers, spec/views, spec/helpers. Is your file > in one of those? > > Yeah th

Re: [rspec-users] Error: undefined method `use_transactional_fixtures

2009-01-07 Thread David Chelimsky
On Wed, Jan 7, 2009 at 12:29 AM, waseem ahmad wrote: > Hi, > > I get this error when I do > > $spec /spec/any_spec > > /home/waseem/app/spec/spec_helper.rb:14: undefined method > `use_transactional_fixtures=' for # > (NoMethodError) > from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/

Re: [rspec-users] Error: undefined method `use_transactional_fixtures

2009-01-06 Thread Mischa Fierer
this may help: http://themomorohoax.com/2008/12/17/rails-2-3-tests On Wed, Jan 7, 2009 at 12:29 AM, waseem ahmad wrote: > Hi, > > I get this error when I do > > $spec /spec/any_spec > > /home/waseem/app/spec/spec_helper.rb:14: undefined method > `use_transactional_fixtures=' for # > (NoMeth

[rspec-users] Error: undefined method `use_transactional_fixtures

2009-01-06 Thread waseem ahmad
Hi, I get this error when I do $spec /spec/any_spec /home/waseem/app/spec/spec_helper.rb:14: undefined method `use_transactional_fixtures=' for # (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner.rb:184:in `configure' from /home/waseem/app/spec/spec_helper