[Groonga-commit] ranguba/epub-searcher at d0a0d97 [master] Omit MainControllerTest#test_get_index_query

Back to archive index

KITAITI Makoto null+****@clear*****
Tue Dec 23 08:27:17 JST 2014


KITAITI Makoto	2014-12-23 08:27:17 +0900 (Tue, 23 Dec 2014)

  New Revision: d0a0d97febac97c999c4b6e0c1374a7c96b07abe
  https://github.com/ranguba/epub-searcher/commit/d0a0d97febac97c999c4b6e0c1374a7c96b07abe

  Message:
    Omit MainControllerTest#test_get_index_query
    
    Because background droonga processes not running on Travis CI.

  Added files:
    test/app/controllers/main_controller_test.rb

  Added: test/app/controllers/main_controller_test.rb (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/app/controllers/main_controller_test.rb    2014-12-23 08:27:17 +0900 (81c4411)
@@ -0,0 +1,14 @@
+class MainControllerTest < Test::Unit::TestCase
+  def test_get_index
+    get '/'
+
+    assert last_response.ok?
+  end
+
+  def test_get_index_query
+    omit 'Background Droonga processes not running on Travis CI' if ENV['TRAVIS']
+    get '/?q=test'
+
+    assert last_response.ok?
+  end
+end
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index