Skip to content

Commit 4ffafe4

Browse files
committed
test
1 parent 092e647 commit 4ffafe4

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

elasticsearch-model/gemfiles/6.0.gemfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ source 'https://rubygems.org'
2424

2525
gemspec path: '../'
2626

27-
gem 'activemodel', '6.0'
28-
gem 'activerecord', '6.0'
29-
gem 'activesupport', '6.0'
27+
gem 'activemodel', '~> 6.0'
28+
gem 'activerecord', '~> 6.0'
29+
gem 'activesupport', '~> 6.0'
3030

3131
group :development, :testing do
3232
gem 'pry-nav'
3333
gem 'rspec'
34-
gem 'sqlite3'
34+
gem 'sqlite3', '~> 1.4'
3535
end

elasticsearch-model/gemfiles/7.0.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ gem 'activesupport', '7.0'
3131
group :development, :testing do
3232
gem 'pry-nav'
3333
gem 'rspec'
34+
gem 'sqlite3', '~> 2.0'
3435
end

elasticsearch-model/spec/elasticsearch/model/adapters/active_record/basic_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
require 'spec_helper'
1919

2020
describe Elasticsearch::Model::Adapter::ActiveRecord do
21-
2221
context 'when a document_type is not defined for the Model' do
23-
2422
before do
2523
ActiveRecord::Schema.define(:version => 1) do
2624
create_table :article_no_types do |t|
@@ -42,7 +40,6 @@
4240
end
4341

4442
describe 'indexing a document' do
45-
4643
let(:search_result) do
4744
ArticleNoType.search('title:test')
4845
end
@@ -55,7 +52,6 @@
5552
end
5653

5754
context 'when a document_type is defined for the Model' do
58-
5955
before(:all) do
6056
ActiveRecord::Schema.define(:version => 1) do
6157
create_table :articles do |t|

0 commit comments

Comments
 (0)