capybara-angular-material 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/capybara/angular/material/node/actions.rb +0 -2
- data/spec/features/demos/select_spec.rb +0 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3dbcb4af3a81c5d9ecc16183c3ebcc2476a2ac0
|
4
|
+
data.tar.gz: ca175a3a952e09afa3de13cfc9e757a5e729b0a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71cded07420a6bea56541b559860207e1fdbed01c20a0f951673b31f45a5fdee97f333d00e2015868ba407630fe3d8207560aded1b847eb2ee14ebc43136c139
|
7
|
+
data.tar.gz: f35e7dbb57109d97a1ddeef8a36fc52ee7ca4ae42d7dfd8dee7cc142f4f609aee2fb6c927969ab7a2f82b784c0c4a1f4168d66938a1e94bd69754e695c0cb7cc
|
data/README.md
CHANGED
@@ -14,7 +14,6 @@ module Capybara
|
|
14
14
|
def md_select(value, options={})
|
15
15
|
# trigger('click') prevents an overlapping element error.
|
16
16
|
find(:xpath, "//md-select/md-select-value/span[not(@class)][text()='#{options[:from]}']").trigger('click')
|
17
|
-
expect(page).to have_no_selector(:xpath, select_md_text_xpath)
|
18
17
|
find(
|
19
18
|
:xpath,
|
20
19
|
%{
|
@@ -23,7 +22,6 @@ module Capybara
|
|
23
22
|
and contains(@class, 'md-select-menu-container')]\
|
24
23
|
/*/md-content/md-option[@value='#{value}']}
|
25
24
|
).trigger('click')
|
26
|
-
expect(page).to have_selector(:xpath, select_md_text_xpath)
|
27
25
|
end
|
28
26
|
|
29
27
|
private
|
@@ -8,10 +8,6 @@ feature 'Angular Material Demos - select' do
|
|
8
8
|
expect(page).to have_md_select('State')
|
9
9
|
end
|
10
10
|
|
11
|
-
it 'has a select with place holder' do
|
12
|
-
expect(page).to have_md_select('State')
|
13
|
-
end
|
14
|
-
|
15
11
|
it 'has no select' do
|
16
12
|
expect(page).not_to have_md_select('Oh, no!')
|
17
13
|
end
|