Sha256: 3bbaec1c55c5bfe677cbf2128e8e4cf4f4067eac2ca43d049da63f3bc87688e2

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

require 'spec_helper'

describe Rake::Benchmark do
  before do
    @rake = Rake::Application.new
    Rake.application = @rake
    Rake.application.rake_require "tasks/benchmarked"
  end

  it "can output benchmark information" do
    capture_stdout do
      @rake['benchmarked'].execute
    end.must_match '  benchmarked -->   '
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rake-benchmark-1.0.0 spec/rake_benchmark_spec.rb