Sha256: ab0e47e42fac8fe45bc675826c0431c68314511f016e3ac35cb2bf78e77c2bc2

Contents?: true

Size: 728 Bytes

Versions: 7

Compression:

Stored size: 728 Bytes

Contents

Feature: `--warnings` option (run with warnings enabled)

  You can use the `--warnings` option to run specs with warnings enabled

  @unsupported-on-rbx
  Scenario:
    Given a file named "example_spec.rb" with:
      """ruby
      RSpec.describe do
        it 'generates warning' do
          @undefined
        end
      end
      """
    When I run `rspec --warnings example_spec.rb`
    Then the output should contain "warning"

  @unsupported-on-rbx
  Scenario:
    Given a file named "example_spec.rb" with:
      """ruby
      RSpec.describe do
        it 'generates warning' do
          @undefined
        end
      end
      """
    When I run `rspec example_spec.rb`
    Then the output should not contain "warning"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opal-rspec-0.8.0 rspec-core/upstream/features/command_line/warnings_option.feature
opal-rspec-0.8.0.alpha3 rspec-core/upstream/features/command_line/warnings_option.feature
opal-rspec-0.8.0.alpha2 rspec-core/upstream/features/command_line/warnings_option.feature
opal-rspec-0.8.0.alpha1 rspec-core/upstream/features/command_line/warnings_option.feature
opal-rspec-0.7.1 rspec-core/upstream/features/command_line/warnings_option.feature
opal-rspec-0.7.0 rspec-core/upstream/features/command_line/warnings_option.feature
opal-rspec-0.7.0.rc.2 rspec-core/upstream/features/command_line/warnings_option.feature