Sha256: fdfc9858d3be49ce4daf7bc09025ddd9deccbe8efc9063eab754f816dba651f8

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

require "features/helper"

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

  context "when no accounts are configured" do
    it "succeeds" do
      expect(last_command_started).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/minimal_configuration.rb
imap-backup-5.2.0 spec/features/configuration/minimal_configuration.rb
imap-backup-5.1.0 spec/features/configuration/minimal_configuration.rb
imap-backup-5.0.0 spec/features/configuration/minimal_configuration.rb