module Support
  module Profiles
    class Cucumber < Base
      attr_reader :browser, :misc, :database, :bucket

      def initialize(profile_name)
        @directory = "configs/cucumber_profiles"

        cucumber_configs = default_profile.deep_merge custom_profile(profile_name)

        @browser = cucumber_configs[:browser] # unused outside of BROWSER
        @misc = cucumber_configs[:misc]
        @database = cucumber_configs[:database] # unused outside of DbClient
        @bucket = cucumber_configs[:bucket]
      end
    end
  end
end
