spec/octoshark/connection_manager_spec.rb in octoshark-0.2.2 vs spec/octoshark/connection_manager_spec.rb in octoshark-0.3.0
- old
+ new
@@ -40,9 +40,9 @@
config = configs[:db1]
result = manager.with_connection(config) do |connection|
connection.execute("SELECT 1")
end
- expect(result).to eq([{"1"=>1, 0=>1}])
+ expect(result.first['1']).to eq(1)
end
end
end