2017-08-13 09:02:48 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-11-03 02:24:45 -04:00
|
|
|
gem "bundler", "< 1.16"
|
|
|
|
|
2015-06-06 09:32:28 -04:00
|
|
|
begin
|
2016-08-06 13:21:59 -04:00
|
|
|
require "bundler/inline"
|
2015-06-06 09:32:28 -04:00
|
|
|
rescue LoadError => e
|
2016-08-06 13:21:59 -04:00
|
|
|
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
|
2015-06-06 09:32:28 -04:00
|
|
|
raise e
|
|
|
|
end
|
2015-04-19 18:12:19 -04:00
|
|
|
|
2015-06-03 23:02:25 -04:00
|
|
|
gemfile(true) do
|
2016-08-06 13:21:59 -04:00
|
|
|
source "https://rubygems.org"
|
2017-09-27 04:55:43 -04:00
|
|
|
|
2017-09-26 17:02:11 -04:00
|
|
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
2017-09-27 04:55:43 -04:00
|
|
|
|
2016-08-06 13:21:59 -04:00
|
|
|
gem "rails", github: "rails/rails"
|
2015-04-19 18:12:19 -04:00
|
|
|
end
|
|
|
|
|
2016-08-06 13:21:59 -04:00
|
|
|
require "active_support"
|
|
|
|
require "active_support/core_ext/object/blank"
|
|
|
|
require "minitest/autorun"
|
2015-04-19 18:12:19 -04:00
|
|
|
|
|
|
|
class BugTest < Minitest::Test
|
|
|
|
def test_stuff
|
|
|
|
assert "zomg".present?
|
|
|
|
refute "".present?
|
|
|
|
end
|
|
|
|
end
|