lib/rSquery/jquery.rb in caifara-rSquery-0.1.1 vs lib/rSquery/jquery.rb in caifara-rSquery-0.1.2
- old
+ new
@@ -1,10 +1,10 @@
class JQ
attr_accessor :jquery_matcher
attr_accessor :selenium
def initialize(jquery_matcher, selenium)
- @jquery_matcher = jquery_matcher
+ @jquery_matcher = jquery_matcher.gsub(/'/, "\"")
@selenium = selenium
@basic_command = "$('#{@jquery_matcher}')"
check_me
end