Skip to content

Commit

Permalink
Fix baseurl in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VandorpeDavid committed Aug 3, 2017
1 parent 31aed32 commit 96929c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/models/user_test.rb
Expand Up @@ -25,13 +25,13 @@
class UserTest < ActiveSupport::TestCase

def setup
stub_request(:get, "http://fkgent.be/clubs/tnnaesse/Gandalf").
stub_request(:get, "https://intranet.fkgent.be/clubs/tnnaesse/Gandalf").
to_return(body: build_fk_response(:tnnaesse, %w(zeus zeus2)))

stub_request(:get, "http://fkgent.be/clubs/mherthog/Gandalf").
stub_request(:get, "https://intranet.fkgent.be/clubs/mherthog/Gandalf").
to_return(body: build_fk_response(:mherthog, %w(fkcentraal)))

stub_request(:get, "http://fkgent.be/clubs/tvwillem/Gandalf").
stub_request(:get, "https://intranet.fkgent.be/clubs/tvwillem/Gandalf").
to_return(body: build_fk_response(:tvwillem, []))

stub_request(:get, "http://registratie.fkgent.be/api/v2/members/clubs_for_ugent_nr.json").
Expand Down

0 comments on commit 96929c7

Please sign in to comment.