Sha256: 8b425243ec7558bafcaa989f941f85677728b596cfd3a99cf06dcccfe1d6ee72

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

require 'spec_helper.rb'
require 'tools.rb'

describe "Tools" do
  describe "- getClass" do
    it "should not call eval" do
      lambda{getClass("String")}.should_not cross(:instance_eval)
    end
    it "should find the correct class" do
      getClass("Mutex").should == Mutex
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appswarm-0.0.1 lib/appswarm/spec/tools_spec.rb