Skip to content

Instantly share code, notes, and snippets.

@jasnow
Created November 23, 2019 16:04
Show Gist options
  • Save jasnow/2edc53d905d26870bb2e77221c71ab29 to your computer and use it in GitHub Desktop.
Save jasnow/2edc53d905d26870bb2e77221c71ab29 to your computer and use it in GitHub Desktop.
Results of "rake" for show-me-the-food5edge repo
/Users/USER/.rvm/rubies/ruby-2.7.0-preview2/bin/ruby -I/Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/gems/rspec-core-3.9.0/lib:/Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/gems/rspec-support-3.9.0/lib /Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/gems/rspec-core-3.9.0/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
/Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/gems/tzinfo-1.2.5/lib/tzinfo/ruby_core_support.rb:142: warning: The last argument is used as the keyword parameter
/Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/gems/tzinfo-1.2.5/lib/tzinfo/ruby_core_support.rb:142: warning: The last argument is used as the keyword parameter
/Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/bundler/gems/rails-91adecaa9c59/actionpack/lib/action_dispatch/middleware/stack.rb:37: warning: The last argument is used as the keyword parameter
/Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/bundler/gems/rails-91adecaa9c59/actionpack/lib/action_dispatch/middleware/static.rb:113: warning: for `initialize' defined here
F
Failures:
1) LocationsController#index assigns @locations
Failure/Error:
raise WrongScopeError,
"`#{name}` is not available from within an example (e.g. an " \
"`it` block) or from constructs that run in the scope of an " \
"example (e.g. `before`, `let`, etc). It is only available " \
"on an example group (e.g. a `describe` or `context` block)."
`name` is not available from within an example (e.g. an `it` block) or from constructs that run in the scope of an example (e.g. `before`, `let`, etc). It is only available on an example group (e.g. a `describe` or `context` block).
# /Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/bundler/gems/rails-91adecaa9c59/actionpack/lib/action_dispatch/testing/assertions/routing.rb:188:in `method_missing'
# /Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/bundler/gems/rails-91adecaa9c59/activerecord/lib/active_record/test_fixtures.rb:101:in `run_in_transaction?'
# /Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/bundler/gems/rails-91adecaa9c59/activerecord/lib/active_record/test_fixtures.rb:115:in `setup_fixtures'
# /Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/bundler/gems/rails-91adecaa9c59/activerecord/lib/active_record/test_fixtures.rb:8:in `before_setup'
Finished in 0.00487 seconds (files took 3.32 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/controllers/locations_controller_spec.rb:6 # LocationsController#index assigns @locations
/Users/USER/.rvm/rubies/ruby-2.7.0-preview2/bin/ruby -I/Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/gems/rspec-core-3.9.0/lib:/Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/gems/rspec-support-3.9.0/lib /Users/USER/.rvm/gems/ruby-2.7.0-preview2@ruby2.7-rails6.1/gems/rspec-core-3.9.0/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment