spreewald 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 960108c467445549a67e87a7695a194c5521584e
4
- data.tar.gz: 32acb9ab2ef32405962b9e31ce7497f5e5bbcbb0
3
+ metadata.gz: e87244041bf4db105bb24ebae80922b8c8ea8861
4
+ data.tar.gz: 2d6d78329f07387e7a2e0b81472195e864dc7547
5
5
  SHA512:
6
- metadata.gz: 93b0cad01387a6e425564b0fa4606383319f430996cb6e4596b51b12138258b6cced76a5410907d05bf606ed6d4feabcca6c978ef09cd3fe560659d8262d2789
7
- data.tar.gz: 7954b16059be050cd13a8cfd11c941dad7213a81a5c448661dd3b885a1bd16c68555d32084dc7e185c14c65ca0d978310fd301dbff57c44dd384fc6160c6fc9b
6
+ metadata.gz: 366723a6a66a7d050dc7c7c4a0dd94f232161ac0e7d232b39b499a308958983f99d1411b6f2025c43d53bf56e9fc6acd759f779456743da4211449e4108ba131
7
+ data.tar.gz: 64f3f18a10aad6320ce752361ba9f158deff19306511b84873b144de5f355a797f72677ba6780bff8f30673f1005ab0f1885a73f253f551cef0e7f8fdce11254
@@ -507,10 +507,11 @@ end.overridable
507
507
  # Example:
508
508
  #
509
509
  # Then I should see an element ".panel"
510
+ # Then I should see the element ".panel"
510
511
  # Then I should not see an element ".sidebar"
511
- # Then I should see the an element ".twitter-timeline"
512
+ # Then I should not see the element ".sidebar"
512
513
  #
513
- Then /^I should (not )?see an element "([^"]+)"$/ do |negate, selector|
514
+ Then /^I should (not )?see (?:an|the) element "([^"]+)"$/ do |negate, selector|
514
515
  expectation = negate ? :should_not : :should
515
516
  patiently do
516
517
  page.send(expectation, have_css(selector))
@@ -522,10 +523,11 @@ end.overridable
522
523
  # Example:
523
524
  #
524
525
  # Then I should see an element for the panel
526
+ # Then I should see the element for the panel
525
527
  # Then I should not an element for the sidebar
526
- # Then I should see an element for the Twitter timeline
528
+ # Then I should not the element for the sidebar
527
529
  #
528
- Then /^I should (not )?see an element for (.*?)$/ do |negate, locator|
530
+ Then /^I should (not )?see (?:an|the) element for (.*?)$/ do |negate, locator|
529
531
  expectation = negate ? :should_not : :should
530
532
  selector = _selector_for(locator)
531
533
  patiently do
@@ -1,3 +1,3 @@
1
1
  module Spreewald
2
- VERSION = '1.5.0'
2
+ VERSION = '1.5.1'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../..
3
3
  specs:
4
- spreewald (1.4.0)
4
+ spreewald (1.5.0)
5
5
  cucumber
6
6
  cucumber_priority
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../..
3
3
  specs:
4
- spreewald (1.4.0)
4
+ spreewald (1.5.0)
5
5
  cucumber
6
6
  cucumber_priority
7
7
 
@@ -107,9 +107,13 @@ Feature: Web steps
107
107
  Scenario: /^I should (not )?see (?:|a|an |the )(.*?) element$/
108
108
  When I go to "/static_pages/see_element"
109
109
  Then I should see an element ".panel"
110
+ And I should see the element ".panel"
110
111
  And I should see an element for a panel
112
+ And I should see the element for a panel
111
113
  But I should not see an element ".timeline"
114
+ But I should not see the element ".timeline"
112
115
  And I should not see an element for the timeline
116
+ And I should not see the element for the timeline
113
117
 
114
118
  Scenario: /^(.*) within (.*[^:])$/
115
119
  When I go to "/static_pages/within"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreewald
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Kraze