-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix set bldg and system type #145
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
spec/files/v2.4.0/building_151.xml
Outdated
@@ -72,7 +72,7 @@ | |||
<auc:YearOfLastMajorRemodel>2003</auc:YearOfLastMajorRemodel> | |||
<auc:Sections> | |||
<auc:Section ID="Default_Section"> | |||
<auc:OccupancyClassification>Retail</auc:OccupancyClassification> | |||
<auc:OccupancyClassification>Multifamily</auc:OccupancyClassification> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<auc:OccupancyClassification>Multifamily</auc:OccupancyClassification> | |
<auc:OccupancyClassification>Retail</auc:OccupancyClassification> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverting this back to original classification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is important for the test. Prior to the change in lib/buildingsync/model_articulation/building_section.rb
, a bsync file with OccupancyClassification Multifamily would break the gem. So I wanted to add that test case
cf29ca9
to
010060f
Compare
#144
The test change break things cause "Mutli family" has a maxfloor, and that comparison is broken.
This fixes things because the wrong variable was being used in the comparison.