<commit_before>require 'spec_helper'

describe StartMine do
  it_behaves_like 'an Interactor'

  describe 'required inputs:' do
    let(:mine) { Mine.new minerals: :silver }
    subject { described_class.run(input)}

    describe 'a mine to start' do
      context 'when provided' do
        let(:input) {{ mine: mine }}

        it 'runs' do
          StartMine.any_instance.should_receive(:execute)

          subject
        end

        it 'starts the mine' do
          mine.should_receive :start

          subject
        end
      end

      context 'when omitted' do
        let(:input) {{ mine: nil }}
        it { should_not be_a_success }
      end
    end
  end
end<commit_msg>Deleted unnecessary tests from StartMine spec<commit_after>require 'spec_helper'

describe StartMine do
  it_behaves_like 'an Interactor'

  describe 'required inputs:' do
    let(:mine) { Mine.new }
    subject { described_class.run(input)}

    describe 'a mine to start' do
      let(:input) {{ mine: mine }}

      it 'starts the mine' do
        mine.should_receive :start
        subject
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.08370837083708371, 'fraction_numerical': 0.0, 'mean_word_length': 2.3293413173652695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2959198', 'n_tokens_mistral': 346, 'n_tokens_neox': 327, 'n_words': 102}