Skip to content

Commit

Permalink
Fix post_invalidation spec on JRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed Jul 1, 2016
1 parent 83c839c commit 9eaf065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/nanoc/extra/deployers/fog_spec.rb
Expand Up @@ -152,7 +152,7 @@
it 'invalidates' do
expect(::Fog::CDN).to receive(:new).with(provider: 'local', local_root: 'remote').and_return(cdn)
expect(cdn).to receive(:get_distribution).with('donkey-cdn').and_return(distribution)
expect(cdn).to receive(:post_invalidation).with(distribution, ['etc/meow', 'woof'])
expect(cdn).to receive(:post_invalidation).with(distribution, contain_exactly('etc/meow', 'woof'))

subject
end
Expand Down

0 comments on commit 9eaf065

Please sign in to comment.