From 3745cc6ec9edd377d875ab3a36794570329a8dad Mon Sep 17 00:00:00 2001 From: Niklaus Giger Date: Tue, 17 Feb 2015 09:59:18 +0100 Subject: [PATCH] Fix test/state/global.rb --- test/test_state/global.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/test_state/global.rb b/test/test_state/global.rb index 43b65d7b7..bf5b93a4c 100644 --- a/test/test_state/global.rb +++ b/test/test_state/global.rb @@ -79,7 +79,7 @@ class StubApp attr_accessor :companies, :pharmacies, :hospitals, :galenic_groups, :fachinfos attr_accessor :state_transp_called def registration_holders - ['registration_holder'] + { '1' => 'registration_holder'} end def initialize @state_transp_called = false @@ -246,9 +246,6 @@ def test_direct_request_path__else assert_equal('request_path', @state.direct_request_path) end def test_companylist - flexmock(@session) do |s| - s.should_receive(:registration_holders).and_return(['registration_holder']) - end assert_kind_of(State::Companies::CompanyList, @state.companylist) end def test_doctorlist