testing/cucumber/step_definitions/verification_steps.rb in cql-1.4.0 vs testing/cucumber/step_definitions/verification_steps.rb in cql-1.4.1
- old
+ new
@@ -39,10 +39,10 @@
expect(@query_results).to eq(baseline_results)
end
Then(/^the following code executes without error:$/) do |code_text|
- code_text = process_path(code_text)
+ code_text.sub!('path/to', @temp_dir)
expect { eval(code_text) }.to_not raise_error
end
Then(/^all of them can be queried$/) do |code_text|