Skip to content

Commit affa0cb

Browse files
author
Michael Chen
committed
rm new lines
1 parent beb8538 commit affa0cb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

elasticsearch-model/spec/elasticsearch/model/module_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
before(:all) do
4343
class ::DummyIncludingModel; end
4444
class ::DummyIncludingModelWithSearchMethodDefined
45-
46-
4745
def self.search(query, options={})
4846
"SEARCH"
4947
end

elasticsearch-model/spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
require 'active_record'
3333

3434
unless defined?(ELASTICSEARCH_URL)
35-
ELASTICSEARCH_URL = ENV['ELASTICSEARCH_URL'] || "localhost:#{(ENV['TEST_CLUSTER_PORT'] || 9200)}"
35+
ELASTICSEARCH_URL = ENV['ELASTICSEARCH_URL'] || "localhost:#{(ENV['TEST_CLUSTER_PORT'] || 9250)}"
3636
end
3737

3838
RSpec.configure do |config|

0 commit comments

Comments
 (0)