2014-07-25 01:22:29 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
require_dependency 'badge'
|
|
|
|
|
|
|
|
describe Badge do
|
|
|
|
|
|
|
|
it 'has a valid system attribute for new badges' do
|
2014-09-25 11:44:48 -04:00
|
|
|
Badge.create!(name: "test", badge_type_id: 1).system?.should == false
|
2014-07-25 01:22:29 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|