refactor GET host_condition in host_condition_spec.rb