Sha256: 40390fbacb2bd79e10a82df0b254f802b02ee5413848a7463ebcc947dee484e2

Contents?: true

Size: 482 Bytes

Versions: 12

Compression:

Stored size: 482 Bytes

Contents

RSpec.describe Mutant::Integration do

  let(:class_under_test) do
    Class.new(described_class)
  end

  let(:object) { class_under_test.new }

  describe '#setup' do
    subject { object.setup }
    it_should_behave_like 'a command method'
  end
end

RSpec.describe Mutant::Integration::Null do

  let(:object) { described_class.new }

  describe '#setup' do
    subject { object.all_tests }

    it { should eql([]) }

    it_should_behave_like 'an idempotent method'
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mutant-0.7.5 spec/unit/mutant/integration_spec.rb
mutant-0.7.4 spec/unit/mutant/integration_spec.rb
mutant-0.7.3 spec/unit/mutant/integration_spec.rb
mutant-0.7.2 spec/unit/mutant/integration_spec.rb
mutant-0.7.1 spec/unit/mutant/integration_spec.rb
mutant-0.6.7 spec/unit/mutant/integration_spec.rb
mutant-0.6.6 spec/unit/mutant/integration_spec.rb
mutant-0.6.5 spec/unit/mutant/integration_spec.rb
mutant-0.6.4 spec/unit/mutant/integration_spec.rb
mutant-0.6.3 spec/unit/mutant/integration_spec.rb
mutant-0.6.2 spec/unit/mutant/integration_spec.rb
mutant-0.6.0 spec/unit/mutant/integration_spec.rb