Skip to content

Commit

Permalink
fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoRk committed Jun 24, 2017
1 parent 6169da1 commit 41d86b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/alumns_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
end
it "does not find alumns with no matching params" do
alumn = Alumn.create!(valid_inputs)
get :index, params:{search: "!*"}
get :index, params:{search: "jai3j0"}
expect(assigns(:alumns)).to match_array(nil)
expect(flash[:feedback]).to be_present
end
Expand Down

0 comments on commit 41d86b7

Please sign in to comment.