Sha256: cc750341978460f7a64cd15a409443661c70b0008eefc54ea9dece8b9df9aeed
Contents?: true
Size: 430 Bytes
Versions: 2
Compression:
Stored size: 430 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe Object do setup_context it "includes V8::Cast module" do Object.included_modules.should include(V8::Cast) end describe "#v8?" do it "returns false when object is not reflection from v8" do Object.new.should_not be_v8 end it "returns true when object is reflection from v8" do V8::Integer.new(1).should be_v8 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mustang-0.1.1 | spec/core_ext/object_spec.rb |
mustang-0.1.0 | spec/core_ext/object_spec.rb |