We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 265d592 commit 01e0613Copy full SHA for 01e0613
1 file changed
test/controllers/subscriptions_controller_test.rb
@@ -9,7 +9,8 @@ class SubscriptionsControllerTest < ActionController::TestCase
9
10
get :index
11
12
- assert_select '.subscription', count: 3
+ assert users(:regular_user).subscriptions.any?
13
+ assert_select '.subscription', count: users(:regular_user).subscriptions.count
14
end
15
16
test "should not list other user's subscriptions" do
0 commit comments