We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac03c25 commit 255dca3Copy full SHA for 255dca3
spec/prime_field_spec.rb
@@ -21,7 +21,7 @@
21
describe '#mod' do
22
it 'returns the integer modulo the prime' do
23
n = double('num')
24
- n.should_receive(:%).with(prime).and_return(4)
+ expect(n).to receive(:%).with(prime).and_return(4)
25
expect(field.mod(n)).to eq 4
26
end
27
spec/spec_helper.rb
@@ -14,4 +14,4 @@
14
g: [0, 0x5455],
15
n: 0x7efb,
16
h: 2,
17
-)
+)
0 commit comments