spec/mustang/v8/string_spec.rb in mustang-0.2.1 vs spec/mustang/v8/string_spec.rb in mustang-0.2.2

- old
+ new

@@ -7,9 +7,13 @@ it "inherits Mustang::V8::Primitive" do subject.new("foo").should be_kind_of(Mustang::V8::Primitive) end + it "is kind of String" do + subject.new("foo").should be_kind_of String + end + describe ".new" do context "when no context entered" do it "should raise error" do Mustang::V8::Context.exit_all! expect { subject.new("foo") }.to raise_error(RuntimeError, "can't create V8 object without entering into context")