lib/rspectacular/selectors.rb in rspectacular-0.53.1 vs lib/rspectacular/selectors.rb in rspectacular-0.54.0
- old
+ new
@@ -12,10 +12,10 @@
id_selector.starts_with?('#') ? id_selector[1..-1] : id_selector
end
def sf(*args)
selector_description = args[0]
- selector_entry = RSpectacular.selectors.find { |regex, selector| selector_description.match regex }
+ selector_entry = Rspectacular.selectors.find { |regex, selector| selector_description.match regex }
fail "Cannot find selector for '#{selector_description}'. Please add it to the list of selectors." if selector_entry.nil?
selector = selector_entry[1]