🤑 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

  • 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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Nelly Nelly
    Nelly Nelly
    7,134 Points

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

    Posted August 10, 2016 11:57am 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 August 9, 2016 10:02am 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 March 3, 2016 6:22pm 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 October 12, 2015 5:12am 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 October 12, 2015 5:06am 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 July 15, 2015 2:03am 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 July 4, 2015 11:16pm 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 May 15, 2015 11:31pm 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 May 15, 2015 1:27pm 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 May 6, 2015 10:41pm 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 May 6, 2015 10:18am 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 April 6, 2015 7:22pm 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 January 14, 2015 10:11pm 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 January 11, 2015 10:16pm 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 December 6, 2014 4:38pm 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 July 21, 2014 6:43pm 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.