Sha256: b7145c79e7d2529e3f272b495944ec94dee4064b6a999d5ace002ad4d7c6d72e

Contents?: true

Size: 193 Bytes

Versions: 23

Compression:

Stored size: 193 Bytes

Contents

require 'spec_helper'

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
maid-0.10.0.pre.alpha.1 spec/lib/maid/rule_spec.rb
maid-0.9.0.alpha.2 spec/lib/maid/rule_spec.rb
maid-0.9.0.alpha.1 spec/lib/maid/rule_spec.rb
maid-0.8.0.alpha.4 spec/lib/maid/rule_spec.rb
maid-0.8.0.alpha.3 spec/lib/maid/rule_spec.rb
maid-0.8.0.alpha.2 spec/lib/maid/rule_spec.rb
maid-0.8.0.alpha.1 spec/lib/maid/rule_spec.rb
maid-0.7.0 spec/lib/maid/rule_spec.rb
maid-0.7.0.beta.1 spec/lib/maid/rule_spec.rb
maid-0.7.0.alpha.4 spec/lib/maid/rule_spec.rb
maid-0.7.0.alpha.2 spec/lib/maid/rule_spec.rb
maid-0.7.0.alpha.1 spec/lib/maid/rule_spec.rb
maid-0.6.1 spec/lib/maid/rule_spec.rb
maid-0.6.1.alpha.1 spec/lib/maid/rule_spec.rb
maid-0.6.0 spec/lib/maid/rule_spec.rb
maid-0.6.0.beta.2 spec/lib/maid/rule_spec.rb
maid-0.6.0.beta.1 spec/lib/maid/rule_spec.rb
maid-0.6.0.alpha.6 spec/lib/maid/rule_spec.rb
maid-0.6.0.alpha.5 spec/lib/maid/rule_spec.rb
maid-0.6.0.alpha.4 spec/lib/maid/rule_spec.rb