Created
October 17, 2016 16:15
-
-
Save donbobka/a73ddad31e95bf34a2f29e3fbf070ab5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module InteractionExampleGroup | |
extend ActiveSupport::Concern | |
included do | |
let(:inputs) { {} } | |
let(:outcome) { described_class.run(inputs) } | |
let(:result) { outcome.result } | |
end | |
RSpec.configure do |config| | |
config.include self, type: :interaction, file_path: %r{\bspec\/interactions\/} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment