You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require 'test_helper'
class ApplicationHelperTest < ActionView::TestCase
test "full title helper" do
assert_equal full_title, FILL_IN
assert_equal full_title("Help"), FILL_IN
end
end
Above is the code in the book(Chapter6's final part which ask me to push the code to heroku), and I need to comment the require 'test_helper' and push it to heroku, otherwise the heorku site will crash.
Gemfile like below(guess it can serve some information to let you know my env):
Thanks for the comment. The parts labeled FILL_IN are from the exercises and indicate that you need to fill in the corresponding places with valid code. By themselves, they are not valid Ruby, which could account for your application crashing at Heroku.
test/helpers/application_helper_test.rb
Above is the code in the book(Chapter6's final part which ask me to push the code to heroku), and I need to comment the require 'test_helper' and push it to heroku, otherwise the heorku site will crash.
Gemfile like below(guess it can serve some information to let you know my env):
By the way, the book is really helpful, thanks for your effort.
Best regards.
The text was updated successfully, but these errors were encountered: