Switch from the test-construct gem (deprecated) to test_construct
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -14,7 +14,7 @@ group :development do
|
|||||||
gem "jeweler", ">= 1.6.2"
|
gem "jeweler", ">= 1.6.2"
|
||||||
gem "rcov", :platforms => :mri_18
|
gem "rcov", :platforms => :mri_18
|
||||||
gem "simplecov", :platforms => :mri_19
|
gem "simplecov", :platforms => :mri_19
|
||||||
gem "test-construct"
|
gem "test_construct"
|
||||||
gem "capture-output", "~> 1.0.0"
|
gem "capture-output", "~> 1.0.0"
|
||||||
if RUBY_VERSION >= '1.9.2'
|
if RUBY_VERSION >= '1.9.2'
|
||||||
gem "rubocop"
|
gem "rubocop"
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|||||||
require 'homesick'
|
require 'homesick'
|
||||||
require 'rspec'
|
require 'rspec'
|
||||||
require 'rspec/autorun'
|
require 'rspec/autorun'
|
||||||
require 'construct'
|
require 'test_construct'
|
||||||
require 'tempfile'
|
require 'tempfile'
|
||||||
|
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
config.include Construct::Helpers
|
config.include TestConstruct::Helpers
|
||||||
|
|
||||||
config.before { ENV['HOME'] = home.to_s }
|
config.before { ENV['HOME'] = home.to_s }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user