spec/linner/wrapper_spec.rb in linner-0.2.0 vs spec/linner/wrapper_spec.rb in linner-0.3.0
- old
+ new
@@ -11,12 +11,14 @@
'return console.log("log from app!");' +
'};' +
";}});\n"
end
- describe :wrap do
- it "should wrapped by wrapper" do
- script = Wrapper.wrap(@name, @script)
- script.should eq @expected_script
- end
+ it "should wrapped by wrapper" do
+ script = Wrapper.wrap(@name, @script)
+ script.should eq @expected_script
+ end
+
+ it "should has definition" do
+ Wrapper.definition.should_not be_nil
end
end