Sha256: 617a9c100f6a18bb2ef070c5a7bf00dd8a7c303def9352202ebf90b9328e46d5

Contents?: true

Size: 652 Bytes

Versions: 3

Compression:

Stored size: 652 Bytes

Contents

module Kaui
  class IntegrationTestHelper < ActionDispatch::IntegrationTest

    BASE_PATH    = '/kaui'
    SIGN_IN_PATH = BASE_PATH + '/users/sign_in'
    SIGN_OUT_PATH = BASE_PATH + '/users/sign_out'
    ACCOUNTS_PATH = BASE_PATH + '/accounts'
    ACCOUNT_TIMELINE_PATH = BASE_PATH + '/account_timelines'

    include KillbillTestHelper

    # Called before every single test
    setup do
      setup_integration_test
    end

    # Called after every single test
    teardown do
      teardown_integration_test
    end

    protected

    def setup_integration_test
      setup_test_data
    end

    def teardown_integration_test
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kaui-0.7.2 test/integration/kaui/integration_test_helper.rb
kaui-0.7.1 test/integration/kaui/integration_test_helper.rb
kaui-0.7.0 test/integration/kaui/integration_test_helper.rb