mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
11 lines
209 B
Ruby
11 lines
209 B
Ruby
require 'spec_helper'
|
|
require_dependency 'badge'
|
|
|
|
describe Badge do
|
|
|
|
it 'has a valid system attribute for new badges' do
|
|
Badge.create!(name: "test", badge_type_id: 1).system?.should be_false
|
|
end
|
|
|
|
end
|
|
|