Sha256: 27fbaf9d3e9af9d3ea4b92182bb9e689bffb2a8db33ddc381d13bf33659095ef

Contents?: true

Size: 195 Bytes

Versions: 22

Compression:

Stored size: 195 Bytes

Contents

require 'spec_helper'

module Maid
  describe Rule do
    it 'should be able to be followed' do
      rule = Rule.new('my rule', lambda { 1 + 2 })
      rule.follow.should == 3
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
maid-0.2.0.beta.1 spec/lib/maid/rule_spec.rb
maid-0.2.0.alpha.1 spec/lib/maid/rule_spec.rb