mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:29:53 +01:00
19 lines
520 B
Ruby
19 lines
520 B
Ruby
# frozen_string_literal: true
|
|
|
|
# in spec/integration/role_constrained_routes_spec.rb we test for access to
|
|
# the pghero route, which fails because the PgHero::HomeController performs
|
|
# some queries which do not seem to work in a transaction
|
|
#
|
|
# since we don't need PgHero to work in tests stubbing it away should be^W^W
|
|
# is expected to be fine ;-)
|
|
class PgHero::HomeController
|
|
def index
|
|
render plain: "DB < ÖBB"
|
|
end
|
|
|
|
def set_database; end
|
|
|
|
def set_query_stats_enabled; end
|
|
|
|
def set_show_details; end
|
|
end
|