Sha256: ac7df4e3e319feb60ab32aa2d3331ab98fce22b6357b2b1d4f33752b020ae9bb
Contents?: true
Size: 399 Bytes
Versions: 8
Compression:
Stored size: 399 Bytes
Contents
require 'spec_helper' main = self describe "The describe method" do it 'is available on the main object' do main.should respond_to(:describe) end it 'is available on modules (so example groups can be nested inside them)' do Module.new.should respond_to(:describe) end it 'is not available on other types of objects' do Object.new.should_not respond_to(:describe) end end
Version data entries
8 entries across 8 versions & 5 rubygems