Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2a3abed19c
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.344 kb
require 'spec_helper'
describe "extensions" do
describe "#debugger" do
it "warns if ruby-debug is not installed" do
object = Object.new
object.should_receive(:warn).with(/debugger .* ignored:\n.* ruby-debug/m)
object.stub(:require) { raise LoadError }
object.__send__ :method_missing, :debugger
end
end
end
Jump to Line
Something went wrong with that request. Please try again.