Skip to content

Commit

Permalink
openvpn: Use shared system binary for executable lookup in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dpb587 committed Sep 4, 2017
1 parent 9357ded commit 1500fb5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service/openvpn/client/create_tunnelblick_profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ var _ = Describe("CreateTunnelblickProfile", func() {
It("errors", func() {
fakeclient.GetReturns(nil, errors.New("fake-err1"))

err := subject.CreateTunnelblickProfile(CreateTunnelblickProfileOpts{})
err := subject.CreateTunnelblickProfile(CreateTunnelblickProfileOpts{
SsocaExec: "false",
})
Expect(err).To(HaveOccurred())
Expect(err.Error()).To(ContainSubstring("Getting base profile"))
Expect(err.Error()).To(ContainSubstring("fake-err1"))
Expand Down

0 comments on commit 1500fb5

Please sign in to comment.