Quoin/RapidFTR — pull request #26 by relledge (2014-04-08 20:28:29+00:00)
Title: Rails 4.0 upgrade - fixed device_controller cucumber errors

Fixes for following failing cucumber tests:
cucumber -p browser capybara_features/black_listing_devices.feature:4 # Scenario: Should able to blacklist a device
cucumber -p browser capybara_features/manage_users.feature:12 # Scenario: Admin disables a user and re-enables a user from the edit page
cucumber -p browser capybara_features/user_disable.feature:11 # Scenario: Admin disables a user and re-enables a user from the edit page

In devices_controller, Device.view() is deprecated. Changed to Device.by_imew
Changed devices_controller_spec mocks to account for this change.
Fixes failing cucumber tests regarding blacklisting devices.

In users show page, fixed a case where true/false is now handled as a boolean instead of as a string.
This fixes failing cucumber tests regarding disable/enable users