# frozen_string_literal: true RSpec.describe TTY::Prompt::Question, '#initialize' do subject(:question) { described_class.new(TTY::TestPrompt.new)} it { expect(question.echo).to eq(true) } it { expect(question.modifier).to eq([]) } it { expect(question.validation).to eq(TTY::Prompt::Question::UndefinedSetting) } end