require 'dotenv'
Dotenv.load

raise 'No OWS_SERVICENAME_URL provided!' if ENV['OWS_SERVICENAME_URL'].nil?

ROOT = File.expand_path(
  File.join(File.dirname(__FILE__), '../../')
)

NO_AUTH_HEADERS = { "Content-Type" => "application/json" }.freeze

# Fill this with neccessary data in format <alw:id_here> or <oa:id_here>
# or comment this out if not needed
ALW_USER_ID =
OA_USER_ID =

# World - modules included in World can be used in step definitions.
# It's usually best to keep this fairly small and used namespaced modules
# instead.
require 'minitest/spec'

# World class that redefines the Cucumber World. Extend this class instead of
# explicitly extending the world.
class CustomWorld
  include Minitest::Assertions

  attr_accessor :assertions
  @assertions = 0
end

World do
  CustomWorld.new
end
