I'm having some issues defining my own steps using Calabash-Android and Cucumber.
My step definition file contains
require 'calabash-android/calabash_steps'
Given /^I wait for obb download$/ do
pending
end
And the error message I am getting is
Calabash-Android/features/step_definitions/calabash_steps.rb:1: syntax error, unexpected tCONSTANT, expecting end-of-input
Given /^I wait for obb download$/ ...
... ^ (SyntaxError)
I have tried using the Given
and When
prepositions and no matter what I put inside the do
block, I get the same error. When I comment out requires
, it will run, but crash when I get to that step. It also works when I comment out my step definition and remove my step.
I have also tried every combination of /
/^
, /
, $/
, and ""
and I still get the same error.
Any assistance would be appreciated. Thanks.