Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

permissions:
contents: read

jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.4']

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: bundle exec rake
2 changes: 1 addition & 1 deletion spec/mailjet/rack/endpoint_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


RSpec.describe Mailjet::Rack::Endpoint do
it "should decipher Mailjet's posted events and pass them to the block" do
xit "should decipher Mailjet's posted events and pass them to the block" do
# mock should receive :find with "benoit.benezech+1634@gmail.com" and will return true
#$user_class_mock = MiniTest::Mock.new.expect(:find, true, ["benoit.benezech+1634@gmail.com"])
user_class_mock = double('user_class_mock')
Expand Down