Sha256: 1b72f58d39c8fe872e37d288dae90f25faa5a2c4945e4c74573132ff34f85b1a
Contents?: true
Size: 735 Bytes
Versions: 4
Compression:
Stored size: 735 Bytes
Contents
require "features/helper" RSpec.describe "Show an email", type: :aruba do let(:email) { "me@example.com" } let(:account) do { username: email, local_path: File.join(config_path, email.gsub("@", "_")) } end before do create_config(accounts: [account]) store_email( email: email, folder: "my_folder", uid: 99, from: "me@example.com", subject: "Hello", body: "How're things?" ) run_command_and_stop("imap-backup local show #{email} my_folder 99") end it "shows the email" do expected = <<~BODY From: me@example.com Subject: Hello How're things? BODY expect(last_command_started).to have_output(expected) end end
Version data entries
4 entries across 4 versions & 1 rubygems