Awesome test sir!  Only thing I'd change is assign the owner to a variable and then use it to check the association at the end.

```
owner =  FactoryGirl.create(:building_owner, name: owner_name)


expect(BuildingUnit.last.building_owner).to eql(owner)
```