Skip to content

Instantly share code, notes, and snippets.

@prathamesh-sonpatki
Created October 30, 2016 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prathamesh-sonpatki/797e9d4b9e6fe04665c6f35f5d0069a8 to your computer and use it in GitHub Desktop.
Save prathamesh-sonpatki/797e9d4b9e6fe04665c6f35f5d0069a8 to your computer and use it in GitHub Desktop.
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
source "https://rubygems.org"
gem "rails", path: "/Users/prathamesh/Projects/sources/rails"
end
require "active_support"
require "minitest/autorun"
class BugTest < Minitest::Test
def test_stuff
Hash.from_xml do_something
rescue REXML::ParseException
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment