• Igor Drozdov's avatar
    Avoid stubbing a Geo node instance · c7870ec9
    Igor Drozdov authored
    Geo node can be created via let_it_be, i.e frozen.
    The frozen objects can't be stubbed.
    
    Let's define GeoNode.current? method instead and
    stub its calls.
    c7870ec9
geo_node_spec.rb 27.7 KB