Skip to content

Commit

Permalink
hound cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Tooyosi committed Jul 16, 2024
1 parent dbfce60 commit 1160a34
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec/controllers/api/v1/subjects_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
get :index
end

it 'should default sort parameter to id' do
it 'defaults sort parameter to id' do
expect(controller.params[:sort]).to eq('id')
end

Expand Down Expand Up @@ -89,9 +89,8 @@
get :index, params: request_params
end

it 'should not default sort parameter to id', focus: true do
expect(controller.params[:sort]).to_not eq('id')
expect(controller.params[:sort]).to eq('queued')
it 'does not default sort parameter to id' do
expect(controller.params[:sort]).not_to eq('id')
end

it "should return 200" do
Expand Down

0 comments on commit 1160a34

Please sign in to comment.