spec/javascript_behaviour_spec.rb in rubyvis-0.2.1 vs spec/javascript_behaviour_spec.rb in rubyvis-0.2.2
- old
+ new
@@ -1,5 +1,5 @@
-require File.dirname(__FILE__)+"/spec_helper.rb"
+require File.expand_path(File.dirname(__FILE__)+"/spec_helper.rb")
describe "Javascript compatibility" do
it "extends Proc with js_apply and js_call" do
f=lambda {|a,b| a+b}
f.should respond_to(:js_apply)
f.should respond_to(:js_call)
\ No newline at end of file