Skip to content

Commit

Permalink
comment out tests that use sqs
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jun 16, 2020
1 parent ba28ba3 commit c3f848a
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions spec/concerns/indexable_spec.rb
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
require 'rails_helper'

describe "Indexable", vcr: true do
subject { create(:doi) }

it 'send_message' do
response = subject.send_message(subject.to_jsonapi)
expect(response.message_id).to be_present
end

it 'send_import_message' do
response = subject.send_import_message(subject.to_jsonapi)
expect(response.message_id).to be_present
end

it 'send_delete_message' do
response = subject.send_delete_message(subject.to_jsonapi)
expect(response.message_id).to be_present
end
end
# describe "Indexable", vcr: true do
# subject { create(:doi) }

# it 'send_message' do
# response = subject.send_message(subject.to_jsonapi)
# expect(response.message_id).to be_present
# end

# it 'send_import_message' do
# response = subject.send_import_message(subject.to_jsonapi)
# expect(response.message_id).to be_present
# end

# it 'send_delete_message' do
# response = subject.send_delete_message(subject.to_jsonapi)
# expect(response.message_id).to be_present
# end
# end

describe "Indexable class methods", elasticsearch: true do
context "client" do
Expand Down

0 comments on commit c3f848a

Please sign in to comment.