Skip to content

Commit

Permalink
add shared example back
Browse files Browse the repository at this point in the history
This was dropped by accident in
af82679
  • Loading branch information
bastelfreak committed Jan 28, 2022
1 parent 5a618de commit 2d507c5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
spec/spec_helper.rb:
spec_overrides: "require 'spec_helper_methods'"
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
add_custom_fact name.to_sym, value
end
end

require 'spec_helper_methods'
5 changes: 5 additions & 0 deletions spec/spec_helper_methods.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

shared_examples 'compile', compile: true do
it { is_expected.to compile.with_all_deps }
end

0 comments on commit 2d507c5

Please sign in to comment.