Sha256: e5d4b9118772f913f3604cfa234f13b24dd7c49aeb9a1afb04715bce6ac9705f

Contents?: true

Size: 178 Bytes

Versions: 5

Compression:

Stored size: 178 Bytes

Contents

module LoginRequired
  def login_required(url)
    visit(url)
    assert_equal(new_sessions_path, current_path)
  end
end

ActionDispatch::IntegrationTest.include(LoginRequired)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fluentd-ui-1.2.1 test/support/login_required.rb
fluentd-ui-1.2.0 test/support/login_required.rb
fluentd-ui-1.1.0 test/support/login_required.rb
fluentd-ui-1.0.1 test/support/login_required.rb
fluentd-ui-1.0.0 test/support/login_required.rb