diff --git a/test/unit/organization_test.rb b/test/unit/organization_test.rb index cef60fc..8525181 100644 --- a/test/unit/organization_test.rb +++ b/test/unit/organization_test.rb @@ -94,4 +94,11 @@ class OrganizationTest < Test::Unit::TestCase assert_same empty, org.find_processed_validation('lalalala') end + should 'have boxes and blocks upon creation' do + profile = Organization.create!(:name => 'test org', :identifier => 'testorg') + + assert profile.boxes.size > 0 + assert profile.blocks.size > 0 + end + end -- libgit2 0.21.2