Sha256: 59bacaad7e3300e10b44b34b20d64f09a555d286df9c5265aed53b0d66eb19f6

Contents?: true

Size: 682 Bytes

Versions: 7

Compression:

Stored size: 682 Bytes

Contents

# frozen_string_literal: true

RSpec.shared_examples 'session accessor' do
  it 'includes session methods' do
    expect(described_class.included_modules).to include(PageMagic::SessionMethods)
  end
end

RSpec.shared_examples 'element watcher' do
  it 'includes watchers' do
    expect(described_class.included_modules).to include(PageMagic::Watchers)
  end
end

RSpec.shared_examples 'waiter' do
  it 'includes waiters' do
    expect(described_class.included_modules).to include(PageMagic::WaitMethods)
  end
end

RSpec.shared_examples 'element locator' do
  it 'includes Locators' do
    expect(described_class.included_modules).to include(PageMagic::Element::Locators)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
page_magic-2.0.6 spec/support/shared_examples.rb
page_magic-2.0.5 spec/support/shared_examples.rb
page_magic-2.0.4 spec/support/shared_examples.rb
page_magic-2.0.3 spec/support/shared_examples.rb
page_magic-2.0.2 spec/support/shared_examples.rb
page_magic-2.0.1 spec/support/shared_examples.rb
page_magic-2.0.0 spec/support/shared_examples.rb