Skip to content

Commit

Permalink
spec helper
Browse files Browse the repository at this point in the history
  • Loading branch information
trek committed Oct 19, 2010
1 parent 8c53e9f commit 897556c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions spec/spec_helper.rb
@@ -0,0 +1,36 @@
require File.join(File.dirname(__FILE__), '..', 'answer_factory')
require 'spec'

class FakeBlueprint < NudgeBlueprint
def language
:Fake
end

def blending_crossover (other)
FakeBlueprint.new("-- fake -- ")
end

def delete_n_points_at_random (n)
FakeBlueprint.new("-- fake -- ")
end

def mutate_n_points_at_random (n)
FakeBlueprint.new("-- fake -- ")
end

def mutate_n_values_at_random (n)
FakeBlueprint.new("-- fake -- ")
end

def point_crossover (other)
FakeBlueprint.new("-- fake -- ")
end

def unwrap_block
FakeBlueprint.new("-- fake -- ")
end

def wrap_block
FakeBlueprint.new("-- fake -- ")
end
end

0 comments on commit 897556c

Please sign in to comment.