Sha256: 7620af139ef78d87a8f96cf2d7464d662fa538705dd0e79a21c5364384f973fa

Contents?: true

Size: 310 Bytes

Versions: 4

Compression:

Stored size: 310 Bytes

Contents

require "features/helper"

RSpec.describe "Running commands", type: :aruba do
  before do
    run_command("imap-backup")
    last_command_started.stop
  end

  context "when the configuration file is missing" do
    it "fails" do
      expect(last_command_started).not_to have_exit_status(0)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
imap-backup-6.0.0.rc2 spec/features/configuration/missing_configuration.rb
imap-backup-5.2.0 spec/features/configuration/missing_configuration.rb
imap-backup-5.1.0 spec/features/configuration/missing_configuration.rb
imap-backup-5.0.0 spec/features/configuration/missing_configuration.rb