Skip to content

Commit

Permalink
Adjust test, update test workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Sep 19, 2024
1 parent 73bef31 commit 3275ed1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
uses: ruby/setup-ruby@v1

- name: Setup cache key and directory for gems cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-use-ruby-${{ hashFiles('**/Gemfile.lock') }}
Expand Down
1 change: 1 addition & 0 deletions spec/models/published_entity_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

it 'updates index when entity is unpublished' do
entity = create(:entity, :published)
entity.save!
expect(described_class.search('*', where: { label: entity.label }).first.id).to eq(entity.id)
entity.letters.first.repositories.first.update(published: false)
entity.letters.first.save
Expand Down

0 comments on commit 3275ed1

Please sign in to comment.