Sha256: f78ca55d9e8492a1b1b67207b0ecff8c49e452ca53513650c76e37d6d1302e39
Contents?: true
Size: 392 Bytes
Versions: 1
Compression:
Stored size: 392 Bytes
Contents
require 'minitest_helper' require 'fantasyhub/events' describe Fantasyhub::Events do describe "Every event declaration must implement the interface methods" do Fantasyhub::Events.constants.each do |event| let(:event_klass) { Object.const_get("Fantasyhub::Events::#{event}") } it "must have a score" do event_klass.must_respond_to :score end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fantasyhub-1.0.1 | test/fantasyhub/events_test.rb |