mardi 4 août 2015

my rspec output is so long it pushes the error out of view

Forgive me, I'm just trying to learn to test, but i know this is ridiculous. Anyone know what could be causing this?

I'm following along at devwalks.com and I'm on the part one of the testing track.

Failures:

  1) Creating posts Can create a job
     Failure/Error: visit '/'
     ActionView::MissingTemplate:
       Missing template posts/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in:
         * "/Users/Andy/Desktop/rails/phototest/app/views"
     # /Users/Andy/.rvm/gems/ruby-2.2.1/gems/ <-- this line repeats around 50 times with different subfolders/files 

Finished in 0.03078 seconds (files took 2.7 seconds to load)
2 examples, 1 failure, 1 pending

Failed examples:

rspec ./spec/features/creating_posts_spec.rb:4 # Creating posts Can create a job



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire