removed duplicate trim method call. Added a spec to test response being nil from display_as method
moved from javascript to capybara click on the page.
Merge pull request #392 from faheematapoex/tests_for_display_as_being_nil

Tests to display the default em-dash when display_as returns nil