Sha256: 09ae21f8860b11e9ba282c42936fe472c653d9ab132ffee40d0a8863d0bedbf2

Contents?: true

Size: 656 Bytes

Versions: 7

Compression:

Stored size: 656 Bytes

Contents

shared_examples 'it flags the account as modified' do
  it 'flags that the account has changed' do
    expect(account[:modified]).to be_truthy
  end
end

shared_examples "it doesn't flag the account as modified" do
  it 'does not flag that the account has changed' do
    expect(account[:modified]).to be_falsey
  end
end

shared_examples 'it flags the account to be deleted' do
  it 'flags that the account is to be deleted' do
    expect(account[:delete]).to be_truthy
  end
end

shared_examples "it doesn't flag the account to be deleted" do
  it 'does not flags that the account is to be deleted' do
    expect(account[:delete]).to be_falsey
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
imap-backup-1.2.2 spec/support/shared_examples/account_flagging.rb
imap-backup-1.2.1 spec/support/shared_examples/account_flagging.rb
imap-backup-1.2.0 spec/support/shared_examples/account_flagging.rb
imap-backup-1.1.0 spec/support/shared_examples/account_flagging.rb
imap-backup-1.0.17 spec/support/shared_examples/account_flagging.rb
imap-backup-1.0.16 spec/support/shared_examples/account_flagging.rb
imap-backup-1.0.15 spec/support/shared_examples/account_flagging.rb