Sha256: e50b3f6290b039134b93bf7ce23e9932c131eaf2c60f9cf56b25ff2ae67dba45
Contents?: true
Size: 493 Bytes
Versions: 3
Compression:
Stored size: 493 Bytes
Contents
require 'spec_helper' describe Controll::Events do subject { clazz.new } let(:clazz) { Controll::Events } include Controll::Event::Helper let(:a_success) { create_event :success } let(:a_warning) { create_event :warning } describe 'class methods' do subject { clazz } its(:valid_types) { should == Controll::Event.valid_types } end describe 'last' do subject { Controll::Events.new a_success, a_warning } its(:last) { should == a_warning } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
controll-0.3.2 | spec/controll/events_spec.rb |
controll-0.3.1 | spec/controll/events_spec.rb |
controll-0.3.0 | spec/controll/events_spec.rb |