Sha256: 4bc334a9c664f9a40cca281d791d9c5cb65aaa312bf0950118b843a6570952ab
Contents?: true
Size: 436 Bytes
Versions: 3
Compression:
Stored size: 436 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Yardstick::Document, '.register_rule' do subject { described_class.register_rule(rule_class) } let(:rule_class) { Class.new } let(:rule_classes) { described_class.registered_rules } after do rule_classes.delete(rule_class) end it 'adds rule_class to registered_rules' do subject expect(rule_classes).to include(rule_class) end end
Version data entries
3 entries across 3 versions & 1 rubygems