Again, we need to declare an expectation and comparison, or else the test will not yield useful information. A good solution might be: 
     @my_string.encoding.should eq (Encoding.find("UTF-8"))