Sha256: 3f950365fb7f6709872d40a319ad688cfbf209cc72a1bee1ad94af558cf483d8

Contents?: true

Size: 644 Bytes

Versions: 17

Compression:

Stored size: 644 Bytes

Contents

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

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

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

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
page_magic-1.2.9 spec/support/shared_examples.rb
page_magic-1.2.8 spec/support/shared_examples.rb
page_magic-1.2.8.alpha spec/support/shared_examples.rb
page_magic-1.2.7 spec/support/shared_examples.rb
page_magic-1.2.6 spec/support/shared_examples.rb
page_magic-1.2.5 spec/support/shared_examples.rb
page_magic-1.2.5.alpha1 spec/support/shared_examples.rb
page_magic-1.2.4 spec/support/shared_examples.rb
page_magic-1.2.3 spec/support/shared_examples.rb
page_magic-1.2.1 spec/support/shared_examples.rb
page_magic-1.2.0 spec/support/shared_examples.rb
page_magic-1.1.0 spec/support/shared_examples.rb
page_magic-1.0.4 spec/support/shared_examples.rb
page_magic-1.0.3 spec/support/shared_examples.rb
page_magic-1.0.2 spec/support/shared_examples.rb
page_magic-1.0.1 spec/support/shared_examples.rb
page_magic-1.0.0 spec/support/shared_examples.rb