Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJohn Martens
8,689 PointsGetting a NameError on uninitialized constant AuthenticationHelpers
This is what I have in my spec_helper.rb file:
RSpec.configure do |config| config.include TodoListHelpers, type: :feature config.include RailsDomIdHelper, type: :feature config.include FactoryGirl::Syntax::Methods config.include AuthenticationHelpers, type: :controller
and it can't get past the last line when I try to run testing. The line is identical to the video and I checked all other required files and everything is the same
1 Answer
Andrew Stelmach
12,583 PointsHi John, could you edit the post to make the code easier to read? Begin the code with ruby (then a new line), and after your code start a new line and then write three backticks:
John Martens
8,689 PointsJohn Martens
8,689 PointsThanks Andrew, I was wondering how to make my code look like code and I havent had time to look up how to do it. Next time I will look here first to make sure it is formatted properly