Created
February 5, 2019 07:27
-
-
Save takkanm/f6228c2333ba636917846c32fa0cd9f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def feature(name, &block) | |
class_name = name.split.map(&:capitize).join | |
klass = Class.new(ApplicationSystemTestCase) | |
klass.class_eavl do | |
alias_method :secnario, :test | |
yield | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment