spec/spec_helper.rb in nightcrawler_swift-0.6.0 vs spec/spec_helper.rb in nightcrawler_swift-0.7.0
- old
+ new
@@ -1,9 +1,9 @@
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
require "rake"
-require "byebug"
+RUBY_VERSION =~ /1\.9/ ? require("debugger") : require("byebug")
require "nightcrawler_swift"
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause this