spec/cucumber/ast/step_spec.rb in cucumber-0.10.3 vs spec/cucumber/ast/step_spec.rb in cucumber-0.10.5
- old
+ new
@@ -46,12 +46,12 @@
step_invocation.instance_variable_get('@multiline_arg').raw.should == [%w{taste_juicy color_green}]
end
it "should replace arguments in py string arg" do
- py_string = PyString.new('taste_<taste> color_<color>')
+ doc_string = DocString.new('taste_<taste> color_<color>')
- step = Step.new(1, 'Given', 'a <color> cucumber', py_string)
+ step = Step.new(1, 'Given', 'a <color> cucumber', doc_string)
invocation_table = Table.new([
%w{color taste},
%w{green juicy}
])