capybara-harness 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module Capybara::Harness::Dom
|
|
7
7
|
def initialize(name, options = {})
|
8
8
|
@name = name.to_sym
|
9
9
|
@through = extract_option_as_sym(:through, options)
|
10
|
-
@label = options.fetch(:label, name.to_s.
|
10
|
+
@label = options.fetch(:label, name.to_s.humanize)
|
11
11
|
@as = options.fetch(:as, :string).to_sym
|
12
12
|
end
|
13
13
|
|