Skip to content

Commit

Permalink
Updated specs after foreman PR #5
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalis committed Jul 5, 2017
1 parent b7f52b1 commit 27ae9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/provider_foreman_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
controller.instance_variable_set(:@provider, provider2)
allow(controller).to receive(:render_flash)
controller.save_provider
expect(assigns(:flash_array).first[:message]).to include("Name has already been taken")
expect(assigns(:flash_array).last[:message]).to include("Name has already been taken")
end

context "#edit" do
Expand Down

0 comments on commit 27ae9dd

Please sign in to comment.