is a shared_example really necessary here? What about: 

```ruby
it "one day ago should be overdue" do
      work_package.due_date = 1.day.ago.to_date
      expect(work_package).to be_overdue
    end
```