Sha256: 3edd86f226c0e879ef64eb94849506c0ddf604e0782235596423da9b18849b60

Contents?: true

Size: 195 Bytes

Versions: 13

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

13 entries across 13 versions & 1 rubygems

Version Path
maid-0.1.4.alpha.2 spec/lib/maid/rule_spec.rb
maid-0.1.4.alpha.1 spec/lib/maid/rule_spec.rb
maid-0.1.3 spec/lib/maid/rule_spec.rb
maid-0.1.3.beta.2 spec/lib/maid/rule_spec.rb
maid-0.1.3.beta.1 spec/lib/maid/rule_spec.rb
maid-0.1.2 spec/lib/maid/rule_spec.rb
maid-0.1.1 spec/lib/maid/rule_spec.rb
maid-0.1.0 spec/lib/maid/rule_spec.rb
maid-0.1.0.rc.1 spec/lib/maid/rule_spec.rb
maid-0.1.0.beta.4 spec/lib/maid/rule_spec.rb
maid-0.1.0.beta.3 spec/lib/maid/rule_spec.rb
maid-0.1.0.beta2 spec/lib/maid/rule_spec.rb
maid-0.1.0.beta1 spec/lib/maid/rule_spec.rb