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 8661241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:27:03+00:00 2026-06-12T16:27:03+00:00

Hello i am receiving this error: spec/models/stores/persistent_spec.rb:6:in block (2 levels) in <top (required)>’: undefined

  • 0

Hello i am receiving this error:

spec/models/stores/persistent_spec.rb:6:in block (2 levels) in <top
(required)>': undefined method
expect’ for #
(NoMethodError)

Here is my setup. i have a class called Store located inside app/models

i have a class called Stores::Temporary < Store placed inside app/models/stores

I am trying to write tests for Temporary and they are failing with the error above

i have created temporary_spec.rb inside spec/models/stores and the code for it is the following:

require "spec_helper"

describe Stores::Temporary do

end

i am trying to write an expect to raise_error statement.

I have also tried 5.should == 5 which results with no available test being detected inside this file. I am using guard to autorun the tests, so changes in the files are being detected (works correctly) and tests are rerun but appear as blank.

  • 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-12T16:27:04+00:00Added an answer on June 12, 2026 at 4:27 pm

    So after struggling with this for 2 hours i restarted the PC and it was working without changing anything… One of those stupid errors you just need to sorta sleep-over and retry.

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

Sidebar

Related Questions

I am receiving a comments from service. If I get this comment hello world
I'm receiving this error on my jsp file - 'Can not find the tag
I'm receiving this error (I'm using C#): parsing (--[[. ?]])|(--[[. ) - Unterminated []
Hello I have like this 2 tables class User public int UserId{get;set;} { ....
Hello I've got this query to get users by email, which is an unique
Hello (this is a long post sorry), I am writing a application in ASP.NET
After adding in the WidgetsInTemplateMixin, I am receiving an error dest.appendChild is not a
I'm receiving an error sometimes for what should be a valid request as 400
hello i had this code and it worked well: private void Textparsing() { using
I have this stadard code for receiving a class from a web service: function

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.