Sha256: 9111fc49f965974b39102b6f71e5f9c8a70bdf35da98b01a3c77e875be2f81cb
Contents?: true
Size: 1.07 KB
Versions: 4
Compression:
Stored size: 1.07 KB
Contents
# encoding: utf-8 describe Hexx::Suit::Install, :sandbox, :capture do describe ".start" do before { try_in_sandbox { described_class.start } } it "creates necessary files" do %w( .rspec .rubocop.yml .yardopts Guardfile Gemfile Rakefile config/metrics/cane.yml config/metrics/churn.yml config/metrics/flay.yml config/metrics/metric_fu.yml config/metrics/reek.yml config/metrics/roodi.yml config/metrics/rubocop.yml config/metrics/saikuro.yml config/metrics/simplecov.yml config/metrics/yardstick.yml config/metrics/STYLEGUIDE spec/spec_helper.rb ).each { |file| expect(file).to be_present_in_sandbox } end it "adds Hexx::Suit tasks loader to Rakefile" do expect(read_in_sandbox "Rakefile").to include "Hexx::Suit.install_tasks" end it "adds mutant task to Rakefile" do expect(read_in_sandbox "Rakefile") .to include "mutant -r spec/spec_helper --use rspec Sandbox*" end end end
Version data entries
4 entries across 4 versions & 1 rubygems