Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8371363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:08:41+00:00 2026-06-09T14:08:41+00:00

Creating tests with rspec works fine, but if I want to execute those tests,

  • 0

Creating tests with rspec works fine, but if I want to execute those tests, I get following error:

NoMethodError: undefined method `active_record' for #<Rails::Application::Configuration:0x3011c001>
    method_missing at org/jruby/RubyBasicObject.java:1687
    method_missing at c:/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/railties-3.2.7/lib/rails/railtie/configuration.rb:85
            (root) at C:/Workspace/OE_11/project_name/config/environments/test.rb:33
       module_eval at org/jruby/RubyModule.java:2277
         configure at c:/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/railties-3.2.7/lib/rails/railtie/configurable.rb:24
            (root) at C:/Workspace/OE_11/project_name/config/environments/test.rb:1
           require at org/jruby/RubyKernel.java:1042
           require at c:/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:251
   load_dependency at c:/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:236
           require at c:/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/activesupport-3.2.7/lib/active_support/dependencies.rb:251
            Engine at C:/Workspace/OE_11/project_name/config/environments/test.rb:571
     instance_exec at org/jruby/RubyBasicObject.java:1757
               run at c:/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/railties-3.2.7/lib/rails/initializable.rb:30
  run_initializers at c:/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/railties-3.2.7/lib/rails/initializable.rb:55
              each at org/jruby/RubyArray.java:1615
  run_initializers at c:/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/railties-3.2.7/lib/rails/initializable.rb:54
       initialize! at c:/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/railties-3.2.7/lib/rails/application.rb:136
          __send__ at org/jruby/RubyBasicObject.java:1698
              send at org/jruby/RubyKernel.java:2097
    method_missing at c:/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/railties-3.2.7/lib/rails/railtie/configurable.rb:30

…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:08:42+00:00Added an answer on June 9, 2026 at 2:08 pm

    Found my answer here. I’m not using active record in my project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When running the rspec I get: C:/www/kill/spec/games_controller_spec.rb:4:in block in <top (required)>': undefined local variable
I'm creating some tests in SoapUI. SOAP request, that i want to test has
I've scoured the web, but, alas, I just can't seem to get Rspec to
When creating an ActiveRecord in rspec, I use fixtures for valid records. But when
I am creating hits at mTurk through Rspec test code but at the same
I am creating unit tests with DUnit. I have a class that takes quite
I'm working on creating a tests, and I can't figure out why the creation
I am creating an automated testing framework in Perl for regression tests. I would
I'm often creating custom assertion methods for my JUnit tests. eg: public void assertArrays(String[]
I have the following couple of C pre-processor macros for creating test functions: //

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.