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

- old
+ new

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