Sha256: 590c54e488450b10d51fc85a19d862d89a58f9296b6d025f50e5642fe5431c49

Contents?: true

Size: 497 Bytes

Versions: 4

Compression:

Stored size: 497 Bytes

Contents

# STUB FILE FOR RULES TESTING
module RulesEngine
  module Rule
    class MockRule < RulesEngine::Rule::Definition
      
      def self.rule_class_name
        "mock_rule"
      end      
      
      self.options = 
        {
          :group => 'mock group',
          :display_name => 'mock rule',    
          :help_partial => '/re_rules/mock_rule/help',
          :new_partial => '/re_rules/mock_rule/new',
          :edit_partial => '/re_rules/mock_rule/edit'
        } 
    end
  end  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rules_engine-0.3.3 spec/rails_3_0_0_root/app/rules/mock_rule.rb
rules_engine-0.3.2 spec/rails_3_0_0_root/app/rules/mock_rule.rb
rules_engine-0.3.1 spec/rails_3_0_0_root/app/rules/mock_rule.rb
rules_engine-0.3.0 spec/rails_3_0_0_root/app/rules/mock_rule.rb