aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-05-02 11:50:46 -0400
committerAlec Warner <antarus@gentoo.org>2018-05-02 11:50:46 -0400
commitfffca762f1e9c93336804a011c4b28469d48b2fd (patch)
tree4379204159e8f55f8c1f2dd6f67113491fbf05af
parentAdd indexes before running tests. (diff)
downloadpackages-fffca762f1e9c93336804a011c4b28469d48b2fd.tar.gz
packages-fffca762f1e9c93336804a011c4b28469d48b2fd.tar.bz2
packages-fffca762f1e9c93336804a011c4b28469d48b2fd.zip
Add rails 2.5
Drop setup code, it appears broken.
-rw-r--r--.travis.yml1
-rw-r--r--test/controllers/categories_controller_test.rb4
2 files changed, 1 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 09fd6d4..f764d85 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,7 @@ language: ruby
cache: bundler
rvm:
- 2.2
+ - 2.5
services:
- elasticsearch
diff --git a/test/controllers/categories_controller_test.rb b/test/controllers/categories_controller_test.rb
index d74df38..264c9e1 100644
--- a/test/controllers/categories_controller_test.rb
+++ b/test/controllers/categories_controller_test.rb
@@ -1,10 +1,6 @@
require 'test_helper'
class CategoriesControllerTest < ActionController::TestCase
- setup do
- @category = categories(:one)
- end
-
test "should get index" do
get :index
assert_response :success