Creating a Handlebars Helper

So far, our app is directly showing the user data from our Ember Data models.
As our app grows, we will want to manipulate data further before presenting it to our users.
For this reason, Ember offers Handlebars template helpers to decorate the data in our templates.
Let's use a handlebars helper to allow our users to quickly see if a property is "Standalone" or part of a "Community".

Each argument in the helper will be added to an array and passed to our helper. For example, {{my-helper "foo" "bar"}} would result in myHelper(["foo", "bar"]). Using array ES2015 destructuring assignment, we can name expected parameters within the array. In the example above, the first argument in the template will be assigned to propertyType. This provides a flexible, expressive interface for your helpers, including optional arguments and default values.

Now in our browser we should see that the first rental property is listed as "Standalone",
while the other two are listed as "Community".

Integration Test

Update the content of the integration test to the following to fix it: