Sha256: 6d39dc14f55fdb0c73790331f7e49758542638b8b62655f5b767a8558539e461

Contents?: true

Size: 189 Bytes

Versions: 3

Compression:

Stored size: 189 Bytes

Contents

require 'spec_helper'

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maid-0.10.0 spec/lib/maid/rule_spec.rb
maid-0.10.0.pre.alpha.3 spec/lib/maid/rule_spec.rb
maid-0.10.0.pre.alpha.2 spec/lib/maid/rule_spec.rb