spec/linner/wrapper_spec.rb in linner-0.4.6 vs spec/linner/wrapper_spec.rb in linner-0.5.0
- old
+ new
@@ -12,13 +12,13 @@
'};' +
";}});\n"
end
it "should wrapped by wrapper" do
- script = Wrapper.wrap(@name, @script)
+ script = Wrapper::Module.wrap(@name, @script)
script.should eq @expected_script
end
it "should has definition" do
- Wrapper.definition.should_not be_nil
+ Wrapper::Module.definition.should_not be_nil
end
end