Sha256: cbc8fa902b4dd5501a7eb2b8dd86f5273a35c4388902aa8ec6dee48cc91142f5
Contents?: true
Size: 536 Bytes
Versions: 5
Compression:
Stored size: 536 Bytes
Contents
require "test_helper" class Replication::Modules::ProofreadingTest < ActiveSupport::TestCase def setup Organism.can_replicate with: :proofreading end test "unwound with proofreading" do organism = organism_object organism.name = nil strand = organism.unwound(name: 'First bacteria') assert_nil strand end test "replicate with proofreading" do organism = organism_object organism.name = nil assert_raises(Replication::UnwoundError) { organism.replicate(name: 'First bacteria') } end end
Version data entries
5 entries across 5 versions & 1 rubygems