diff options
Diffstat (limited to 'spec/controllers/dashboard/snippets_controller_spec.rb')
-rw-r--r-- | spec/controllers/dashboard/snippets_controller_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/controllers/dashboard/snippets_controller_spec.rb b/spec/controllers/dashboard/snippets_controller_spec.rb index 3c316d07408..d981f738e70 100644 --- a/spec/controllers/dashboard/snippets_controller_spec.rb +++ b/spec/controllers/dashboard/snippets_controller_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' RSpec.describe Dashboard::SnippetsController do - let(:user) { create(:user) } + let_it_be(:user) { create(:user) } before do sign_in(user) @@ -26,5 +26,7 @@ RSpec.describe Dashboard::SnippetsController do get :index end + + it_behaves_like 'snippets sort order' end end |