Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmi-matic committed Feb 27, 2019
1 parent 77b2a80 commit 33b53e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/espec_phoenix/controller_spec.exs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ defmodule ControllerSpec do
end

it "call ESpec function" do
expect(change(fn -> :ok end)).not_to eq(:ok)
expect(change(fn -> :ok end, 2)).not_to eq(:ok)
change(fn -> :ok end) |> should_not(eq :ok)
change(fn -> :ok end, 2) |> should_not(eq :ok)
end
end
end
Expand Down

0 comments on commit 33b53e6

Please sign in to comment.