# This is for your entertainment only. Use at your own risk. # # allour ApplicationController do # ohai(:each) do # @lol = 'spek' # end # # canhaz "should work" do # @lol.should == 'spek' # end # # kthxbye(:all) do # puts 'kthxbye' # end # end Spec::Example::ExampleGroupMethods.module_eval do alias_method :canhaz, :example alias_method :allour, :describe end Spec::DSL::Main.module_eval do alias_method :allour, :describe end Spec::Example::BeforeAndAfterHooks.module_eval do alias_method :ohai, :append_before alias_method :kthxbye, :prepend_after end