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
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
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
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
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
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
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
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/
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
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
10 matches
Mail list logo