capybara-harness 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,7 +42,7 @@ module Capybara::Harness::Dom
42
42
  # Public: Finds and clicks the element's link that is assigned the data attribute for the supplied action. Common actions
43
43
  # include :edit or :delete.
44
44
  def click_action(action)
45
- dom_reader.find_element.find("[data-action='#{action}']").click
45
+ dom_reader.find_element(self.values).find("[data-action='#{action}']").click
46
46
  end
47
47
 
48
48
  def reset!(new_values = {})
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Harness
3
- VERSION = "0.0.14"
3
+ VERSION = "0.0.15"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-harness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: