mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: system badges where created under id 100
This commit is contained in:
@@ -4,7 +4,7 @@ require_dependency 'badge'
|
||||
describe Badge do
|
||||
|
||||
it 'has a valid system attribute for new badges' do
|
||||
Badge.new.system?.should be_false
|
||||
Badge.create!(name: "test", badge_type_id: 1).system?.should be_false
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user