2017-08-13 09:02:48 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
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"
|
|
|
|
gem "rails", github: "rails/rails"
|
2017-03-21 19:41:39 -04:00
|
|
|
gem "arel", github: "rails/arel"
|
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
|