次のような rspec シナリオがあります。
scenario "some description of the scenario", :js => true, :slow => true, :wip => true do
sleep 60
...
sleep
しかし、シナリオがタグ付けされているものに基づいて、次のように条件付きで呼び出したいと思います。
scenario "some description of the scenario", :js => true, :slow => true, :wip => true do
sleep 60 if tags[:slow] && !tags[:wip]
...
助けていただければ幸いです。