Search code examples
ruby-on-railsrspec-rails

What is xscenario in spec.rb file ?


I have this legacy app, and trying to figure out this spec.rb file.

-  scenario 'assign to new rider' do
+  xscenario 'assign to new rider' do

Snippet above is from the github. Clearly original author add the letter x to the word scenario.

But why ? What is the purpose ?

Please guide me to google regarding the reading material to help me understand more.

Thanks!


Solution

  • Thanks to @Tamer for the hint, its a way of pending the test scenario.

    xscenario

    Hope this helps anyone else.