Skip to content

Instantly share code, notes, and snippets.

@tarynsauer
Last active August 29, 2015 14:00
Show Gist options
  • Save tarynsauer/0974d0db117e64ee579f to your computer and use it in GitHub Desktop.
Save tarynsauer/0974d0db117e64ee579f to your computer and use it in GitHub Desktop.
describe MessageArchiver do
let(:message) { create_message }
it "archives messages outstanding for three months" do
MessageArchiver.archive_messages # message has not been invoked yet
expect(message.archived).to be_true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment