spec/crc16_usb_spec.rb in digest-crc-0.2.0 vs spec/crc16_usb_spec.rb in digest-crc-0.3.0

- old
+ new

@@ -1,13 +1,10 @@ require 'spec_helper' require 'crc_examples' require 'digest/crc16_usb' describe Digest::CRC16USB do - before(:all) do - @crc_class = Digest::CRC16USB - @string = '1234567890' - @expected = '3df5' - end + let(:string) { '1234567890' } + let(:expected) { '3df5' } it_should_behave_like "CRC" end