Skip to content

Instantly share code, notes, and snippets.

@cwant
Created February 1, 2017 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwant/8734e97ed83b038acf23fda85452d0bf to your computer and use it in GitHub Desktop.
Save cwant/8734e97ed83b038acf23fda85452d0bf to your computer and use it in GitHub Desktop.
Avalon test suite ordering dependency (?)
$ bundle exec rspec ./spec/integration/omniauth_callbacks_controller_spec.rb[1:1:2] ./spec/features/capybara_playlist_spec.rb[1:10]
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Run options: include {:ids=>{"./spec/integration/omniauth_callbacks_controller_spec.rb"=>["1:1:2"], "./spec/features/capybara_playlist_spec.rb"=>["1:10"]}}
Users::OmniauthCallbacksController
lti
should create the course if necessary
Playlist
is able to change private playlist to public
Deprecation Warnings:
Requiring `rspec/autorun` when running RSpec via the `rspec` command is deprecated. Called from /var/www/avalon/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.16/lib/active_support/dependencies.rb:247:in `require'.
Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /var/www/avalon/spec/features/capybara_playlist_spec.rb:177:in `block (2 levels) in <top (required)>'.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
2 deprecation warnings total
Finished in 28.51 seconds (files took 4.01 seconds to load)
2 examples, 0 failures
[Coveralls] Outside the CI environment, not sending data.
$ bundle exec rspec ./spec/features/capybara_playlist_spec.rb[1:10] ./spec/integration/omniauth_callbacks_controller_spec.rb[1:1:2]
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Run options: include {:ids=>{"./spec/features/capybara_playlist_spec.rb"=>["1:10"], "./spec/integration/omniauth_callbacks_controller_spec.rb"=>["1:1:2"]}}
Playlist
is able to change private playlist to public
Users::OmniauthCallbacksController
lti
should create the course if necessary (FAILED - 1)
Failures:
1) Users::OmniauthCallbacksController lti should create the course if necessary
Failure/Error: expect(new_course.title).to eq(course_name)
expected: "Foo Course"
got: "foo-course-001"
(compared using ==)
# ./spec/integration/omniauth_callbacks_controller_spec.rb:52:in `block (3 levels) in <top (required)>'
Deprecation Warnings:
Requiring `rspec/autorun` when running RSpec via the `rspec` command is deprecated. Called from /var/www/avalon/vendor/bundle/ruby/2.3.0/gems/activesupport-4.1.16/lib/active_support/dependencies.rb:247:in `require'.
Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /var/www/avalon/spec/features/capybara_playlist_spec.rb:177:in `block (2 levels) in <top (required)>'.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
2 deprecation warnings total
Finished in 27.68 seconds (files took 3.92 seconds to load)
2 examples, 1 failure
Failed examples:
rspec ./spec/integration/omniauth_callbacks_controller_spec.rb:48 # Users::OmniauthCallbacksController lti should create the course if necessary
[Coveralls] Outside the CI environment, not sending data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment