Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def using(*args)
- args.pop.each { |key, value| options[key.to_sym] = value } if Hash === args.last
- args.each do |name|
- if TestFramework.has?(name)
- self.framework = name
- elsif name == :integration
- options[:integration] = true
- else
- Buildr.application.deprecated "Please replace with using(:#{name}=>true)"
- options[name.to_sym] = true
- end
- end
- self
- end
Add Comment
Please, Sign In to add comment