Sha256: 1080d96987dcdfaaa58eace4b2e3eb9f757a9236bee1eac145409ae8af81e163

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

# Tests on integer-specific functionality

require 'lib/maintain'

describe Maintain do
  before :each do
    class MaintainTest
      extend Maintain
    end
  end

  describe "integer" do
    before :each do
      MaintainTest.maintain :kind, :integer => true do
        state :man, 1
        state :woman, 2
        state :none, 3
      end
      @maintainer = MaintainTest.new
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maintain-0.1.4 spec/integer_spec.rb
maintain-0.1.3 spec/integer_spec.rb
maintain-0.1.2 spec/integer_spec.rb