examples/java/features/step_definitons/hello_steps.rb in cucumber-0.3.3 vs examples/java/features/step_definitons/hello_steps.rb in cucumber-0.3.4
- old
+ new
@@ -1,7 +1,5 @@
require 'spec/expectations' # so we can call .should
-$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../src') # so the jar is found
-require 'cucumber_demo' # puts the jar on the classpath
include_class 'cucumber.demo.Hello'
Given /my name is (\w+)/ do |name|
@hello = Hello.new # A java object
@name = name