Skip to content

Instantly share code, notes, and snippets.

@roolo
Created March 2, 2012 15:25
Show Gist options
  • Select an option

  • Save roolo/1959161 to your computer and use it in GitHub Desktop.

Select an option

Save roolo/1959161 to your computer and use it in GitHub Desktop.
describe "Parser" do
it "parse" do
parsed_team_name = MyParser.parse('url')['jop']
xml = Nokogiri::XML VCR.get 'xmlid345'
xml.at_xpath('//team/stats/foul/@commited').value.should == parsed_team_name
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment