Sha256: 053261d4d7b7736ce5f70f395299b1e412c2869d50958f5b09b98485e1af4683

Contents?: true

Size: 739 Bytes

Versions: 96

Compression:

Stored size: 739 Bytes

Contents

require "rspec/core/formatters/documentation_formatter"

module Vagrant
  module Spec
    module Acceptance
      class Formatter < RSpec::Core::Formatters::DocumentationFormatter
        def example_failed(example)
          super
          @group_level -= 1
        end

        def example_passed(example)
          super
          @group_level -= 1
        end

        def example_pending(example)
          super
          @group_level -= 1
        end

        def example_started(example)
          output.puts "#{current_indentation}#{example.description.strip}"
          @group_level += 1
        end

        def message(message)
          output.puts "#{current_indentation}#{message}"
        end
      end
    end
  end
end

Version data entries

96 entries across 29 versions & 2 rubygems

Version Path
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-94a9d31ba18b/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-f3daedaac493/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-94a9d31ba18b/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-f3daedaac493/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-f3daedaac493/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-94a9d31ba18b/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-abfc34474d12/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-94a9d31ba18b/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-f3daedaac493/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-f3daedaac493/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-94a9d31ba18b/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.0.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-f3daedaac493/lib/vagrant-spec/acceptance/rspec/formatter.rb
vagrant-unbundled-2.2.0.0 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-spec-94a9d31ba18b/lib/vagrant-spec/acceptance/rspec/formatter.rb