Skip to content

`make rspec` produces lots of ugly looking warnings

Overview

Running make rspec produces lots of ugly looking warnings.

$ make rspec
Bundle check passed.
RSpec: .....................................................................................................................Opening http://127.0.0.1:3000
checking for xdg-open... no
checking for gp... no
..Opening http://127.0.0.1:3000
checking for xdg-open... no
checking for gp... no
.Opening http://127.0.0.1:3000
checking for xdg-open... no
checking for gp... no
.Opening http://127.0.0.1:3000
checking for xdg-open... no
checking for gp... no
.Opening http://127.0.0.1:3000
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................WARNING: An expectation of `:identify` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /Users/ash/src/gitlab/gitlab-development-kit/spec/lib/gdk/telemetry_spec.rb:34:in `block (3 levels) in <top (required)>'.
WARNING: An expectation of `:track` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /Users/ash/src/gitlab/gitlab-development-kit/spec/lib/gdk/telemetry_spec.rb:35:in `block (3 levels) in <top (required)>'.
WARNING: An expectation of `:track` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /Users/ash/src/gitlab/gitlab-development-kit/spec/lib/gdk/telemetry_spec.rb:36:in `block (3 levels) in <top (required)>'.
..WARNING: An expectation of `:identify` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /Users/ash/src/gitlab/gitlab-development-kit/spec/lib/gdk/telemetry_spec.rb:43:in `block (4 levels) in <top (required)>'.
WARNING: An expectation of `:track` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /Users/ash/src/gitlab/gitlab-development-kit/spec/lib/gdk/telemetry_spec.rb:44:in `block (4 levels) in <top (required)>'.
WARNING: An expectation of `:track` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`. Called from /Users/ash/src/gitlab/gitlab-development-kit/spec/lib/gdk/telemetry_spec.rb:45:in `block (4 levels) in <top (required)>'.
.................................................................................................................................................

Finished in 12.95 seconds (files took 0.69921 seconds to load)
1103 examples, 0 failures

Impacted categories

The following categories relate to this issue:

Steps to replicate (optional)

Proposal (optional)

Environment (optional)

  • Operating system name: <!-- output of `uname -a` command -->
  • Architecture: <!-- output of `arch` command -->
  • The contents of your gdk.yml (if any)
  • Ruby version: <!-- output of `ruby --version` command -->
  • GDK version: <!-- output of `git rev-parse --short HEAD` command -->