spec/crc24_spec.rb in digest-crc-0.2.0 vs spec/crc24_spec.rb in digest-crc-0.3.0
- old
+ new
@@ -1,13 +1,10 @@
require 'spec_helper'
require 'crc_examples'
require 'digest/crc24'
describe Digest::CRC24 do
- before(:all) do
- @crc_class = Digest::CRC24
- @string = '1234567890'
- @expected = '8c0072'
- end
+ let(:string) { '1234567890' }
+ let(:expected) { '8c0072' }
it_should_behave_like "CRC"
end