Sha256: 0d115726f5588db6d4e70ee0fff958073ca6956e11af6568aca10987310ecd8a

Contents?: true

Size: 356 Bytes

Versions: 10

Compression:

Stored size: 356 Bytes

Contents

require 'spec_helper'

RSpec.describe '[stat] subcommand' do
  before(:each) do
    skip_if_proc_is_not_available
  end

  it 'should print "Execution time: XXX.XXX"' do
    cmd = "#{perfmonger_bin} stat -- sleep 1"
    run(cmd)
    expect(last_command_started).to be_successfully_executed
    expect("perfmonger.pgr.gz").to be_an_existing_file
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
perfmonger-0.14.4 spec/stat_spec.rb
perfmonger-0.14.2 spec/stat_spec.rb
perfmonger-0.14.1 spec/stat_spec.rb
perfmonger-0.14.0 spec/stat_spec.rb
perfmonger-0.13.1 spec/stat_spec.rb
perfmonger-0.12.1 spec/stat_spec.rb
perfmonger-0.12.0 spec/stat_spec.rb
perfmonger-0.11.2 spec/stat_spec.rb
perfmonger-0.11.1 spec/stat_spec.rb
perfmonger-0.11.0 spec/stat_spec.rb