Skip to content

Commit

Permalink
Fix test/state/global.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ngiger committed Feb 17, 2015
1 parent eabdd5f commit 3745cc6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/test_state/global.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3745cc6

Please sign in to comment.