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.5.0 spec/lib/maid/rule_spec.rb
maid-0.4.2 spec/lib/maid/rule_spec.rb
maid-0.5.0.alpha.1 spec/lib/maid/rule_spec.rb
maid-0.4.1 spec/lib/maid/rule_spec.rb
maid-0.4.0 spec/lib/maid/rule_spec.rb
maid-0.4.0.beta.2 spec/lib/maid/rule_spec.rb
maid-0.4.0.beta.1 spec/lib/maid/rule_spec.rb
maid-0.4.0.alpha.2 spec/lib/maid/rule_spec.rb
maid-0.4.0.alpha.1 spec/lib/maid/rule_spec.rb
maid-0.3.0 spec/lib/maid/rule_spec.rb
maid-0.3.0.beta.1 spec/lib/maid/rule_spec.rb
maid-0.2.3.alpha.1 spec/lib/maid/rule_spec.rb
maid-0.2.2 spec/lib/maid/rule_spec.rb
maid-0.2.2.beta.1 spec/lib/maid/rule_spec.rb
maid-0.2.1 spec/lib/maid/rule_spec.rb
maid-0.2.0 spec/lib/maid/rule_spec.rb
maid-0.2.0.rc.2 spec/lib/maid/rule_spec.rb
maid-0.2.0.rc.1 spec/lib/maid/rule_spec.rb
maid-0.2.0.beta.3 spec/lib/maid/rule_spec.rb
maid-0.2.0.beta.2 spec/lib/maid/rule_spec.rb