提交 57696366 编写于 作者: A Aaron Patterson

fixing a few test warnings

上级 12173396
......@@ -758,12 +758,12 @@ def raise_after
def without_exception
# Do stuff...
1 + 1
wtf = 1 + 1
yield
# Do stuff...
1 + 1
wtf += 1
end
end
......
......@@ -55,6 +55,11 @@ class Post < Struct.new(:title, :author_name, :body, :secret, :written_on, :cost
alias_method :secret?, :secret
def initialize(*args)
super
@persisted = false
end
def persisted=(boolean)
@persisted = boolean
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册