Sha256: 7f26491ed8f3e3e2204e6ffff2e362f09398d9e6620132654d1dda71cba0481b
Contents?: true
Size: 735 Bytes
Versions: 2
Compression:
Stored size: 735 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe V8::Data do setup_context describe "#error?" do it "returns false" do subject.should_not be_error end end describe "#null?" do it "returns false" do subject.should_not be_null end end describe "#undefined?" do it "returns false" do subject.should_not be_undefined end end describe "#empty?" do it "returns false" do subject.should_not be_empty end end describe "#value?" do it "returns true when data is kind of value" do V8::Integer.new(1).should be_value end it "returns false when data is not kind of value" do V8::Undefined.should_not be_value end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mustang-0.1.1 | spec/v8/data_spec.rb |
mustang-0.1.0 | spec/v8/data_spec.rb |