Skip to content
This repository
tree: 461594e042
Fetching contributors…

Cannot retrieve contributors at this time

file 13 lines (11 sloc) 0.308 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
require File.expand_path('../../../spec_helper', __FILE__)

ruby_version_is "1.9" do
  describe "BasicObject#!" do
    it "is a public instance method" do
      BasicObject.should have_public_instance_method(:'!')
    end

    it "returns false" do
      (!BasicObject.new).should be_false
    end
  end
end
Something went wrong with that request. Please try again.