Refactor assert with == 'some value to test for' with assert_equal