Rather than these two, I might do something like:

```ruby
it 'returns a string for date it was issued on' do
  time = Time.now
  credit.issued_on = time
  credit.issue_day.should == time.strftime('%D')
end
```

You could also stub out `issued_on`:

```ruby
it 'returns a string for the date it was issued on' do
  time = Time.now
  credit.stub(:issued_on).and_return(time)
  credit.issue_day.should == time.strftime('%D')
end
```

This method actually doesn't look like it's returning what it's supposed to. I suspect they meant `%d`. But oh, well.