Sha256: 6e977f6a32cdbee772b7ab374c9bf586a0cc5dcf029a029e08cb0591bf06d052
Contents?: true
Size: 363 Bytes
Versions: 4
Compression:
Stored size: 363 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper.rb' context "should_respond_to" do specify "should fail when target doesnt respond to" do lambda do "".should_respond_to(:connect) end.should_fail end specify "should pass when target responds to" do lambda do "".should_respond_to(:length) end.should_not_raise end end
Version data entries
4 entries across 4 versions & 2 rubygems