Sha256: 3bc1d378e9ed4070825cb8f22e65ccbc99d386b8dac8f31ae94ec90824a0d2e6

Contents?: true

Size: 342 Bytes

Versions: 6

Compression:

Stored size: 342 Bytes

Contents

require "pry"

require_relative File.join("..", "..", "lib", "allocation_stats")
require_relative "strings"
AllocationStats.trace_rspec

describe "Array of Strings" do
  it "allocates Strings and Arrays" do
    expect(an_array_of_strings).to include(foo)
  end

  it "allocates more Strings" do
    expect(teamwork).to include(tea)
  end
end

Version data entries

6 entries across 5 versions & 2 rubygems

Version Path
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/allocation_stats-0.1.5/examples/trace_specs/strings_spec.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/allocation_stats-0.1.5/examples/trace_specs/strings_spec.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/allocation_stats-0.1.5/examples/trace_specs/strings_spec.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/allocation_stats-0.1.5/examples/trace_specs/strings_spec.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/allocation_stats-0.1.5/examples/trace_specs/strings_spec.rb
allocation_stats-0.1.5 examples/trace_specs/strings_spec.rb