Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: de01e0567f
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.399 kb
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
Jump to Line
Something went wrong with that request. Please try again.