Skip to content

Commit

Permalink
Added Rails 7.1 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Mar 17, 2023
1 parent 5ff8bf9 commit 1e50ed8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -8,7 +8,7 @@ jobs:
matrix:
include:
- ruby: 3.2
gemfile: Gemfile
gemfile: gemfiles/rails71.gemfile
- ruby: 3.1
gemfile: Gemfile
- ruby: "3.0"
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/rails71.gemfile
@@ -0,0 +1,10 @@
source "https://rubygems.org"

gemspec path: ".."

gem "rake"
gem "minitest", ">= 5"
gem "combustion"
gem "rails", "~> 7.1.0.alpha", github: "rails/rails"
gem "pg"
gem "sprockets-rails"
2 changes: 1 addition & 1 deletion test/queries_test.rb
Expand Up @@ -30,7 +30,7 @@ def test_create
def test_create_error
post blazer.queries_path, params: {query: {name: "Test", statement: "", data_source: "main"}}
assert_response :unprocessable_entity
assert_match "Statement can't be blank", response.body
assert_match /Statement can('|’)t be blank/, response.body
end

def test_destroy
Expand Down

0 comments on commit 1e50ed8

Please sign in to comment.