diff options
| author | Zog | 2018-02-06 12:48:57 +0100 | 
|---|---|---|
| committer | Zog | 2018-02-06 12:48:57 +0100 | 
| commit | 4f58c4eaca46dc975aa907840cdbe067f6225d5e (patch) | |
| tree | 6dc55fb36a49106777e793ad937fa87001d02353 /spec/support | |
| parent | dd7b62adcaa765b9dd5bcd3f3c156d6da2a9682c (diff) | |
| download | chouette-core-4f58c4eaca46dc975aa907840cdbe067f6225d5e.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 | 
