We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e218bc commit 05ad14bCopy full SHA for 05ad14b
features/routing_specs/engine_routes.feature
@@ -3,6 +3,7 @@ Feature: engine routes
3
Routing specs can specify the routeset that will be used for the example
4
group. This is most useful when testing Rails engines.
5
6
+ @unsupported-on-rails-3-0
7
Scenario: specify engine route
8
Given a file named "spec/routing/engine_routes_spec.rb" with:
9
"""ruby
features/support/rails_versions.rb
@@ -0,0 +1,4 @@
1
+Around "@unsupported-on-rails-3-0" do |scenario, block|
2
+ require 'rails'
+ scenario.skip_invoke! if Rails.version >= '3.0.0' && Rails.version < '3.1.0'
+end
0 commit comments