search for: 96badb8e

Displaying 1 result from an estimated 1 matches for "96badb8e".

Did you mean: 663adb8e
2007 Oct 24
3
How do you specify a rubygem is being required?
Hi I''m loading a gem on demand but can''t find a way to spec it. Assuming rubygems is already loaded, I assumed the following would work: describe SqliteConnection, " class" do it "should require ''sqlite3''" do Kernel.should_receive(:require).with("sqlite3") SqliteConnection.new end end Unfortunately