spec/spec_helper.rb in problem_child-2.1.1 vs spec/spec_helper.rb in problem_child-3.0.0

- old
+ new

@@ -1,23 +1,23 @@ -require "bundler/setup" +require 'bundler/setup' ENV['RACK_ENV'] = 'test' -$:.push File.join(File.dirname(__FILE__), '..', 'lib') +$LOAD_PATH.push File.join(File.dirname(__FILE__), '..', 'lib') require 'rack/test' require 'sinatra/auth/github' require 'sinatra/auth/github/test/test_helper' require 'webmock/rspec' -require_relative "../lib/problem_child" +require_relative '../lib/problem_child' WebMock.disable_net_connect! RSpec.configure do |config| config.include(Sinatra::Auth::Github::Test::Helper) end -ENV["GITHUB_CLIENT_ID"] = "1234" -ENV["GITHUB_CLIENT_SECRET"] = "asdf" +ENV['GITHUB_CLIENT_ID'] = '1234' +ENV['GITHUB_CLIENT_SECRET'] = 'asdf' def with_env(key, value) old_env = ENV[key] ENV[key] = value yield