spec/models/entity_spec.rb in maestrano-connector-rails-1.0.2 vs spec/models/entity_spec.rb in maestrano-connector-rails-1.0.3

- old
+ new

@@ -572,12 +572,12 @@ idmap2.reload expect(idmap2.external_id).to eql('999111') expect(idmap2.last_push_to_external).to_not be_nil end - it 'returns an hash with the idmap' do + it 'returns the idmap' do allow(subject).to receive(:create_external_entity).and_return('999111') - expect(subject.push_entity_to_external(entity_with_idmap2, external_name)).to eql({idmap: idmap2}) + expect(subject.push_entity_to_external(entity_with_idmap2, external_name)).to eql(idmap2) end end describe 'failures' do \ No newline at end of file