Sha256: e17c2be840d52609f498709c0e3477bbb52e15a0d7e57afbc30ce93f31c43863
Contents?: true
Size: 414 Bytes
Versions: 35
Compression:
Stored size: 414 Bytes
Contents
module Alignment attr_accessor :alignment step "that alignment should be :alignment" do |expected_alignment| alignment.should eq(expected_alignment) end end steps_for :evil do include Alignment step "the monster has an alignment" do self.alignment = 'Evil' end end steps_for :neutral do include Alignment step "the monster has an alignment" do self.alignment = 'Neutral' end end
Version data entries
35 entries across 35 versions & 2 rubygems