it "when proposal has been created today and day_offset is valid only for today" do
          expect(Dashboard::Action.detect_new_actions_since(Date.yesterday,
                                                            proposal)).to include(resource.id)
          expect(Dashboard::Action.detect_new_actions_since(Date.yesterday,
                                                            proposal)).to include(action.id)