Skip to content

Commit

Permalink
SQUASHME
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Webb <[email protected]>
  • Loading branch information
damacus committed Nov 27, 2023
1 parent d4de883 commit 31be280
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 30 deletions.
15 changes: 7 additions & 8 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@ source 'https://rubygems.org'
gemspec

group :development do
gem 'bundler'
gem 'rake'
# Style checker gems.
gem 'countloc'

# Unit testing gems.
gem 'rspec', '~> 3.2'
gem 'rspec-its', '~> 1.2'
gem 'fuubar', '~> 2.0'

# Integration testing gems.
gem 'kitchen-inspec', '~> 2.0'
gem 'train', '>= 2.1', '< 4.0' # validate 4.x when it's released
end

group :test do
gem 'bundler'
gem 'rake'
gem 'rspec', '~> 3.2'
gem 'rspec-its', '~> 1.2'
end

group :chefstyle do
gem 'chefstyle', '~> 2.2', '>= 2.2.3'
end
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:test, :tag) do |t, args|
t.rspec_opts = [].tap do |a|
a << "--color"
a << "--format #{ENV["CI"] ? "documentation" : "Fuubar"}"
a << "--format #{ENV["CI"] ? "documentation" : "progress"}"
a << "--backtrace" if ENV["VERBOSE"] || ENV["DEBUG"]
a << "--seed #{ENV["SEED"]}" if ENV["SEED"]
a << "--tag #{args[:tag]}" if args[:tag]
Expand Down
21 changes: 0 additions & 21 deletions test/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,6 @@
require "rake"
require "rspec"
require "rspec/its"
require "simplecov"

# Check for coverage stuffs
formatters = []

if ENV["CODECOV_TOKEN"] || ENV["CI"]
require "codecov"
formatters << SimpleCov::Formatter::Codecov
end

unless formatters.empty?
SimpleCov.formatters = formatters
end

SimpleCov.start do
# Don't get coverage on the test cases themselves.
add_filter "/spec/"
add_filter "/test/"
# Codecov doesn't automatically ignore vendored files.
add_filter "/vendor/"
end

require "kitchen/driver/docker"

Expand Down

0 comments on commit 31be280

Please sign in to comment.