Sha256: 07255eead175dee63a178cd6cf818d7bba3f9682dde42211d7ba21f65ca58b94

Contents?: true

Size: 694 Bytes

Versions: 38

Compression:

Stored size: 694 Bytes

Contents

Feature: 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
      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
      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

38 entries across 38 versions & 8 rubygems

Version Path
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/warnings_option.feature
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/warnings_option.feature
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/features/command_line/warnings_option.feature
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/rspec-core-2.14.8/features/command_line/warnings_option.feature
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/rspec-core-2.14.8/features/command_line/warnings_option.feature
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/rspec-core-2.14.8/features/command_line/warnings_option.feature
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/rspec-core-2.14.8/features/command_line/warnings_option.feature
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/rspec-core-2.14.8/features/command_line/warnings_option.feature
vagrant-cloudstack-1.1.0 vendor/bundle/gems/rspec-core-2.14.8/features/command_line/warnings_option.feature
rspec-core-2.99.2 features/command_line/warnings_option.feature
dxruby_rp5-0.0.4 spec/vendor/rspec-core-2.14.7/features/command_line/warnings_option.feature
rspec-core-2.99.1 features/command_line/warnings_option.feature
rspec-core-2.99.0 features/command_line/warnings_option.feature
rspec-core-2.99.0.rc1 features/command_line/warnings_option.feature
rspec-core-2.14.8 features/command_line/warnings_option.feature
rspec-core-3.0.0.beta2 features/command_line/warnings_option.feature
rspec-core-2.99.0.beta2 features/command_line/warnings_option.feature
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/rspec-core-2.14.7/features/command_line/warnings_option.feature
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/rspec-core-2.14.7/features/command_line/warnings_option.feature
dxruby_rp5-0.0.3 spec/vendor/rspec-core-2.14.7/features/command_line/warnings_option.feature