Commit e78f1048 authored by Hiroyuki Sato's avatar Hiroyuki Sato

Add a blank line before first expect.

parent b6d4c88d
...@@ -149,6 +149,7 @@ describe Repository, models: true do ...@@ -149,6 +149,7 @@ describe Repository, models: true do
it "caches #last_commit_id_for_path" do it "caches #last_commit_id_for_path" do
cache = repository.send(:cache) cache = repository.send(:cache)
key = "last_commit_id_for_path:#{sample_commit.id}:#{Digest::SHA1.hexdigest('.gitignore')}" key = "last_commit_id_for_path:#{sample_commit.id}:#{Digest::SHA1.hexdigest('.gitignore')}"
expect(cache).to receive(:fetch).with(key).and_return('c1acaa5') expect(cache).to receive(:fetch).with(key).and_return('c1acaa5')
expect(repository.cache_last_commit_id_for_path(sample_commit.id, '.gitignore')).to eq('c1acaa5') expect(repository.cache_last_commit_id_for_path(sample_commit.id, '.gitignore')).to eq('c1acaa5')
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment