Skip to content

Instantly share code, notes, and snippets.

@jeremywrowe
Created August 20, 2013 22:04
Show Gist options
  • Save jeremywrowe/6287941 to your computer and use it in GitHub Desktop.
Save jeremywrowe/6287941 to your computer and use it in GitHub Desktop.
describe Wombat do
context "with an active user" do
let(:active_user) do
user = User.new
user.tap(&:make_active)
end
it "is a cuddly creator" do
expect(Wombat.new(active_user)).to be_cuddly
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment