test/unit/indices/get_warmer_test.rb in elasticsearch-api-0.4.11 vs test/unit/indices/get_warmer_test.rb in elasticsearch-api-1.0.0.rc1

- old
+ new

@@ -5,15 +5,9 @@ class IndicesGetWarmerTest < ::Test::Unit::TestCase context "Indices: Get warmer" do subject { FakeClient.new } - should "require the :index argument" do - assert_raise ArgumentError do - subject.indices.get_warmer :name => 'foo' - end - end - should "perform correct request" do subject.expects(:perform_request).with do |method, url, params, body| assert_equal 'GET', method assert_equal '_all/_warmer', url assert_equal Hash.new, params