capybara-harness 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,8 +17,8 @@ module Capybara::Harness::Dom
17
17
  #
18
18
  # Returns nothing of interest.
19
19
  def fill_form(new_values = {})
20
- dom_writer.fill(new_values)
21
20
  reset!(new_values)
21
+ dom_writer.fill(values)
22
22
  end
23
23
 
24
24
  # Public: Returns true if the subject's element is present on the page.
@@ -46,7 +46,7 @@ module Capybara::Harness::Dom
46
46
  end
47
47
 
48
48
  def reset!(new_values = {})
49
- self.values = new_values
49
+ self.values = values.merge(new_values)
50
50
  @element = nil
51
51
  @list = nil
52
52
  end
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Harness
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
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.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: