Closed krishnaprasadk closed 12 years ago
I'm confused. The rails3-devise-rspec-cucumber app does not have a feature file "visitors/request_invitation.feature". That feature file exists in a different example app, the rails-prelaunch-signup app. I will close this issue here since it is not relevant to the rails3-devise-rspec-cucumber app. If you are still having this problem with the rails-prelaunch-signup app, please open an issue there.
-- Daniel
I have gone through my programs..It's my mistake..Sorry for this incident...
It is brought up because it still exists as an example of running an individual test in the corresponding tutorial.
Run Single Features Easily You can run a single Cucumber feature with a command such as:
$ bundle exec cucumber features/visitors/request_invitation.feature --require features
After type the following command
bundle exec cucumber features/visitors/request_invitation.feature --require features
the error message is displayed
/home/prescience/Documents/RSpec Example/rails3-devise-rspec-cucumber/spec/factories.rb:1: syntax error, unexpected '<' <!DOCTYPE html> ^ /home/prescience/Documents/RSpec Example/rails3-devise-rspec-cucumber/spec/factories.rb:2: syntax error, unexpected '<'
^ /home/prescience/Documents/RSpec Example/rails3-devise-rspec-cucumber/spec/factories.rb:4: syntax error, unexpected '<' ^ /home/prescience/Documents/RSpec Example/rails3-devise-rspec-cucumber/spec/factories.rb:5: syntax error, unexpected '<' ^ /home/prescience/Documents/RSpec Example/rails3-devise-rspec-cucumber/spec/factories.rb:5: syntax error, unexpected tIDENTIFIER, expecting $end ^ (SyntaxError) /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in `load' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in`block in load' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:225:in `load_dependency' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in`load' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl-3.0.0/lib/factory_girl/find_definitions.rb:16:in `block in find_definitions' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl-3.0.0/lib/factory_girl/find_definitions.rb:15:in`each' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl-3.0.0/lib/factory_girl/find_definitions.rb:15:in `find_definitions' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/factory_girl_rails-3.0.0/lib/factory_girl_rails/railtie.rb:26:in`block in class:Railtie' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:34:in `call' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:34:in`execute_hook' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:42:in`each' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/application/finisher.rb:56:in`block in module:Finisher' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `instance_exec' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:30:in`run' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:55:in `block in run_initializers' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:54:in`each' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `run_initializers' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/application.rb:96:in`initialize!' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/cucumber-rails-1.3.0/lib/cucumber/rails/application.rb:15:in `initialize!' /home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/railtie/configurable.rb:30:in`method_missing' /home/prescience/Documents/RSpec Example/rails3-devise-rspec-cucumber/config/environment.rb:5:in `