shared_examples "UpdateBuildStatus message" do its(:build_id) { should eq build.message.id } its(:tm) { should be } its(:tm_usec) { should be } end