Sha256: 2d7b256aceeef121356b97412477495a352d52d141bdbd99ad11239fb30b5eaa
Contents?: true
Size: 479 Bytes
Versions: 14
Compression:
Stored size: 479 Bytes
Contents
require 'spec_helper' describe Looksee::ObjectMixin do describe "#ls" do before do @object = Object.new Looksee.stub(:default_specifiers).and_return([]) end it "should return an Inspector for the object's lookup path using the given arguments" do result = @object.ls(:private) result.should be_a(Looksee::Inspector) result.lookup_path.object.should.equal?(@object) result.visibilities.should == Set[:private] end end end
Version data entries
14 entries across 14 versions & 1 rubygems