Sha256: 2e0ad33c19c5f9fa5fac57d46d413e8abc940598197e451cd894bb97721f7c0c

Contents?: true

Size: 380 Bytes

Versions: 8

Compression:

Stored size: 380 Bytes

Contents

class RoutingSpec < MiniTest::Rails::ActiveSupport::TestCase
  include ::ActionDispatch::Assertions::RoutingAssertions
  include ::Rails.application.routes.url_helpers

  # Test subjects containing 'Routes' are treated as Routing tests
  #   e.g. describe "Product Routes" do ...
  register_spec_type /Routes/, self

  before do
    @routes = ::Rails.application.routes
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
thincloud-test-rails-1.0.0 lib/generators/thincloud/templates/support/routing_spec.rb
thincloud-test-rails-1.0.0.rc1 lib/generators/thincloud/templates/support/routing_spec.rb
thincloud-test-rails-1.0.0.pre lib/generators/thincloud/templates/support/routing_spec.rb
thincloud-test-0.8.0 lib/generators/thincloud/test/templates/routing_spec.rb
thincloud-test-0.7.0 lib/generators/thincloud/test/templates/routing_spec.rb
thincloud-test-0.6.0 lib/generators/thincloud/test/templates/routing_spec.rb
thincloud-test-0.5.0 lib/generators/thincloud/test/templates/routing_spec.rb
thincloud-test-0.4.0 lib/generators/thincloud/test/templates/routing_spec.rb