Fix warnings when run rspec with '--warning' flag

Most warnings come from unused expression value (many expressions
in one block), such as:

    actual.should == expect

Change them as the following format:

    actual.should be == expect, or
    actual.should eq expect

Signed-off-by: Jiang Xin <worldhello.net@gmail.com>