summaryrefslogtreecommitdiff
path: root/spec/mspec/spec/fixtures/object_methods_spec.rb
blob: 9b7c1523e5cef02265672ed90ccb429531a9deb3 (plain)
1
2
3
4
5
6
7
8
unless defined?(RSpec)
  describe "Object" do
    it ".public_instance_methods(false) is empty" do
      Object.public_instance_methods(false).sort.should ==
        [:should, :should_not, :should_not_receive, :should_receive, :stub!]
    end
  end
end