Sha256: 5f90f705a7af1ecbca9f1a366691e39fe6b3c2e3611831fbb4e30fae06eff2b1

Contents?: true

Size: 336 Bytes

Versions: 18

Compression:

Stored size: 336 Bytes

Contents

require 'spec_helper'

describe Mutant::Subject, '#node' do
  subject { object.node }
  let(:object)  { described_class.new(matcher, context, node) }
  let(:matcher) { mock('Matcher') }
  let(:node)    { mock('Node')    }
  let(:context) { mock('Context') }

  it { should be(node) }

  it_should_behave_like 'an idempotent method'
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
mutant-0.2.20 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.17 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.16 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.15 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.14 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.13 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.12 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.11 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.9 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.8 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.7 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.6 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.5 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.4 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.3 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.2 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.1 spec/unit/mutant/subject/node_spec.rb
mutant-0.2.0 spec/unit/mutant/subject/node_spec.rb