Sha256: 79a46347e2b8dcb83943928b8e202e1ce5f1c489638ad7c118b140d0a4185be6

Contents?: true

Size: 161 Bytes

Versions: 9

Compression:

Stored size: 161 Bytes

Contents

module RSpecSupport
  class ElementHelpers
    def self.string_to_element(element_string)
      Nokogiri::XML.parse(element_string).elements[0]
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruby_odata-0.2.0.beta1 spec/support/element_helpers.rb
ruby_odata-0.1.6 spec/support/element_helpers.rb
ruby_odata-0.1.5 spec/support/element_helpers.rb
ruby_odata-0.1.4 spec/support/element_helpers.rb
ruby_odata-0.1.3 spec/support/element_helpers.rb
ruby_odata-0.1.2 spec/support/element_helpers.rb
ruby_odata-0.1.1 spec/support/element_helpers.rb
ruby_odata-0.1.0 spec/support/element_helpers.rb
ruby_odata-0.0.10 spec/support/element_helpers.rb