It looks like you are not closing your regexp here:
> When /should determine the party (.*) do |n|
> When "obtain the party #{n}"
> end
So it doesn't close until it gets here, where you are trying to start a new
one:
> Then /record the party/ do
> Entity.destroy_all
> @party.save!
> end
And then is treating 'record' as options to the regexp and not recognizing
some of them
> # rake features gives this error:
>
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': ./features/step_definitions/entity_steps.rb:28:
> unknown regexp options - rcrd (SyntaxError)
>./features/step_definitions/entity_steps.rb:28: syntax error Then /record
the party/ do
> ^
> ./features/step_definitions/entity_steps.rb:28: syntax error
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3636 (20081124) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users