enkessler/cql

View on GitHub
testing/cucumber/step_definitions/query_steps.rb

Summary

Maintainability
A
0 mins
Test Coverage
When(/^the following query is executed:$/) do |query_text|
  command = "@repository.query do
               #{query_text}
             end"

  @query_results = eval(command)
end