✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Close
  • Nelly Nelly
    Nelly Nelly
    7,134 Points

    No error when I run `rake`but still having error when running `rspec spec`

    Posted on Aug 10, 2016 by Nelly Nelly
    Nelly Nelly
    7,134 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Simplifying Tests with Factories

    3 Answers

  • Nelly Nelly
    Nelly Nelly
    7,134 Points

    destroy_spec.rb still failing

    Posted on Aug 9, 2016 by Nelly Nelly
    Nelly Nelly
    7,134 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Fixing Our Tests

    5 Answers

  • Daniel Lopez Rivas
    Daniel Lopez Rivas
    16,757 Points

    todo_list_params

    Posted on Mar 3, 2016 by Daniel Lopez Rivas
    Daniel Lopez Rivas
    16,757 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Scoping Todo Lists

    1 Answer

  • Fenian Noakes
    PLUS
    Fenian Noakes
    Courses Plus Student 5,212 Points

    Fill in the blank by creating a user from an already defined user factory:

    Posted on Oct 12, 2015 by Fenian Noakes
    Fenian Noakes
    Courses Plus Student 5,212 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Simplifying Tests with Factories

    1 Answer

  • Fenian Noakes
    PLUS
    Fenian Noakes
    Courses Plus Student 5,212 Points

    Fill in the blank to create the "User" factory

    Posted on Oct 12, 2015 by Fenian Noakes
    Fenian Noakes
    Courses Plus Student 5,212 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Adding Test Helpers

    1 Answer

  • Anthony Quisenberry
    Anthony Quisenberry
    13,074 Points

    how do I fake a log in for a feature test?

    Posted on Jul 15, 2015 by Anthony Quisenberry
    Anthony Quisenberry
    13,074 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Requiring Login

    1 Answer

  • CHI WAI YIP
    CHI WAI YIP
    10,438 Points

    undefined method `sign_in'

    Posted on Jul 4, 2015 by CHI WAI YIP
    CHI WAI YIP
    10,438 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Fixing Our Tests

    1 Answer

  • Philip Huffman
    Philip Huffman
    23,050 Points

    User factory issue

    Posted on May 15, 2015 by Philip Huffman
    Philip Huffman
    23,050 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Adding Test Helpers

    1 Answer

  • Binu Alexander
    Binu Alexander
    4,081 Points

    Fill in the blank by building a stubbed user from an already defined user factory:

    Posted on May 15, 2015 by Binu Alexander
    Binu Alexander
    4,081 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Testing, Scoping, and Factories

    1 Answer

  • John Martens
    John Martens
    8,689 Points

    Create_spec still failing "Email is invalid"

    Posted on May 6, 2015 by John Martens
    John Martens
    8,689 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Fixing Our Tests

    2 Answers

  • John Martens
    John Martens
    8,689 Points

    Getting a NameError on uninitialized constant AuthenticationHelpers

    Posted on May 6, 2015 by John Martens
    John Martens
    8,689 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Fixing Our Tests

    1 Answer

  • Joshua Shroy
    Joshua Shroy
    9,943 Points

    Capybara not finding link in support file.

    Posted on Apr 6, 2015 by Joshua Shroy
    Joshua Shroy
    9,943 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Adding Test Helpers

    1 Answer

  • Sebastian Velandia
    Sebastian Velandia
    24,676 Points

    controller.stub(:current_user).and_return(User.new) is not working

    Posted on Jan 14, 2015 by Sebastian Velandia
    Sebastian Velandia
    24,676 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Requiring Login

    0 Answers

  • Sebastian Velandia
    Sebastian Velandia
    24,676 Points

    in which part of the video does Jason explains this code snippet? add_flash_types :my, :types

    Posted on Jan 11, 2015 by Sebastian Velandia
    Sebastian Velandia
    24,676 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Requiring Login

    1 Answer

  • Adam Zuckerberg
    Adam Zuckerberg
    22,248 Points

    For startups, does test-driven-development make sense?

    Posted on Dec 6, 2014 by Adam Zuckerberg
    Adam Zuckerberg
    22,248 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Simplifying Tests with Factories

    7 Answers

  • Matej Lukášik
    Matej Lukášik
    27,440 Points

    Switching to current_user.todo_lists.new does not work, moreover, makes more tests fail. HELP PLEAAASE!

    Posted on Jul 21, 2014 by Matej Lukášik
    Matej Lukášik
    27,440 Points
    • Ruby
    • User Authentication with Rails
    • Adding User Support to Our Application
    • Scoping Todo Lists

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.