diff options
| author | Zog | 2018-02-06 12:48:57 +0100 | 
|---|---|---|
| committer | cedricnjanga | 2018-02-06 11:11:33 -0800 | 
| commit | a6134639f361629726283f0e2544fd948d552e0b (patch) | |
| tree | 5d00ea930660b67cd48d671a7c672ad99e9a62d2 /spec/support | |
| parent | c0cd54efd584c8875ee6e04fc39c8f09cc1f1e4c (diff) | |
| download | chouette-core-a6134639f361629726283f0e2544fd948d552e0b.tar.bz2 | |
Fix checksum-related specs
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/checksum_support.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/spec/support/checksum_support.rb b/spec/support/checksum_support.rb index 14ea3c55e..e02d9f9f3 100644 --- a/spec/support/checksum_support.rb +++ b/spec/support/checksum_support.rb @@ -42,12 +42,12 @@ shared_examples 'checksum support' do |factory_name|    end    it 'should trigger set_current_checksum_source on save' do -    expect(instance).to receive(:set_current_checksum_source) +    expect(instance).to receive(:set_current_checksum_source).at_least(:once)      instance.save    end    it 'should trigger update_checksum on save' do -    expect(instance).to receive(:update_checksum) +    expect(instance).to receive(:update_checksum).at_least(:once)      instance.save    end  end | 
