Sha256: d1310149f1f98cd12e42c1ea7f47ae170037b73040ccd2476cebe0be08bf8d9c
Contents?: true
Size: 332 Bytes
Versions: 1
Compression:
Stored size: 332 Bytes
Contents
require "spec_helper" describe BestBoyEvent do it "should have valid model" do user = User.create BestBoyEvent.create(:owner_id => user.id, :owner_type => user.class.name.to_s, :event => "create").should be_valid end it "should require a event" do BestBoyEvent.create(:event => "").should_not be_valid end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
best_boy-0.0.3 | spec/best_boy/best_boy_event_spec.rb |