spec/spec_helper.rb in site_checker-0.2.1 vs spec/spec_helper.rb in site_checker-0.3.0

- old
+ new

@@ -1,10 +1,16 @@ require 'rspec' -require 'debugger' require 'webmock/rspec' +begin + require "debugger" +rescue LoadError + # most probably using 1.8 + require "ruby-debug" +end + require File.expand_path('../../lib/site_checker', __FILE__) # common def create_link(url) - SiteChecker::Link.create({:url => url}) + SiteChecker::Link.create({:url => url}) end