spec/lucid/ast/step_spec.rb in lucid-0.3.3 vs spec/lucid/ast/step_spec.rb in lucid-0.4.0

- old
+ new

@@ -1,13 +1,13 @@ require 'spec_helper' require 'lucid/ast' -require 'lucid/core_ext/string' +require 'lucid/lang_extend' module Lucid module AST - + describe Step do let(:language) { double } it 'should replace arguments in name' do step = Step.new(language, 1, 'Given', 'a <status> test') @@ -23,11 +23,11 @@ step_invocation.name.should == 'a passing test' end it 'should use empty string for the replacement of arguments in name when replace value is nil' do step = Step.new(language, 1, 'Given', 'a <status> test') - + invocation_table = Table.new([ %w(status), [nil] ]) @@ -64,9 +64,9 @@ cells = invocation_table.cells_rows[1] step_invocation = step.step_invocation_from_cells(cells) step_invocation.instance_variable_get('@multiline_arg').to_step_definition_arg.should == 'status_passing type_regression' end - + end end -end \ No newline at end of file +end