Rewritten the spec with shared_example for less duplicated code.
Rewritten the spec with shared_example for less duplicated code.

silvermind/bookyt,hauledev/bookyt,xuewenfei/bookyt,gaapt/bookyt,xuewenfei/bookyt,hauledev/bookyt,wtag/bookyt,hauledev/bookyt,wtag/bookyt,huerlisi/bookyt,gaapt/bookyt,gaapt/bookyt,silvermind/bookyt,hauledev/bookyt,gaapt/bookyt,huerlisi/bookyt,huerlisi/bookyt,xuewenfei/bookyt,silvermind/bookyt,silvermind/bookyt,wtag/bookyt