trema/trema — pull request #189 by nickkaranatsios (2012-07-25 08:13:04+00:00)
Title: simpify action nw_tos, refactoring

Takamiya-san

I think I followed your refactoring method but I might be wrong. Anyway here is the first one action-set-nw-tos
BTW just a small correction in the file action-set-dl-dst_spec.rb.
its ( :value ) { should == Mac.new( "52:54:00:a8:ad:8c" ) }

Remove the space after the its keyword. Also in this statement what does the should compares? Please explain to me. Because I think if we are comparing strings it would be better to use the eql instead of ==

Kind regards

Nick