summaryrefslogtreecommitdiff
path: root/spec/commands/pry_backtrace_spec.rb
blob: 320f42f7bfe9313bdf8b7fcef6a42274e7443629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

describe "pry_backtrace" do
  before do
    @t = pry_tester
  end

  it 'should print a backtrace' do
    @t.process_command 'pry-backtrace'
    expect(@t.last_output).to start_with('Backtrace:')
  end
end