summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-07-25 11:06:58 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-07-25 11:06:58 -0700
commitd522b0b824285d025884ff271cda957df1c9951d (patch)
tree8e967424736c6d96e78cda03fc2d7d1d7efe85e8 /lib/puppet/rails
parent29a25abe7a6e04d2b2f78b604aca3d819f010d38 (diff)
downloadpuppet-d522b0b824285d025884ff271cda957df1c9951d.tar.gz
puppet-d522b0b824285d025884ff271cda957df1c9951d.tar.xz
puppet-d522b0b824285d025884ff271cda957df1c9951d.zip
maint: Fix Face testing bug 1.9.2 revealed.
Ruby 1.8.7 is fairly lax about various bits of introspection, including that we can't tell much about what arguments a block takes. Ruby 1.9.2 makes it possible to do this, though. Meanwhile, the Faces system uses this to make sure that scripts and actions take the right set of arguments, to avoid surprises: failing early and explicitly is better than failing at runtime. Which, in final turn, exposes that I forgot to accept the right arguments in a couple of my testing actions for Faces, but didn't notice because 1.8.7 doesn't check that, and I didn't test on 1.9.2.
Diffstat (limited to 'lib/puppet/rails')
0 files changed, 0 insertions, 0 deletions