Skip to content

Commit 01e0613

Browse files
committed
Test fix
1 parent 265d592 commit 01e0613

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/controllers/subscriptions_controller_test.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ class SubscriptionsControllerTest < ActionController::TestCase
99

1010
get :index
1111

12-
assert_select '.subscription', count: 3
12+
assert users(:regular_user).subscriptions.any?
13+
assert_select '.subscription', count: users(:regular_user).subscriptions.count
1314
end
1415

1516
test "should not list other user's subscriptions" do

0 commit comments

Comments
 (0)