Sha256: 54905fb61ff57ca0edf6a0ffbd1a89b91a42df4c0ed3006cf3b44267432d075e

Contents?: true

Size: 283 Bytes

Versions: 18

Compression:

Stored size: 283 Bytes

Contents

require 'spec_helper'

describe Mutant::Subject, '.new' do
  subject { object.new(matcher, context, ast) }

  let(:object) { described_class }

  let(:matcher) { mock('Matcher') }
  let(:context) { mock('Context') }
  let(:ast)     { mock('AST')     }

  it { should be_frozen }
end

Version data entries

18 entries across 18 versions & 1 rubygems

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