global
def verify_stylesheet(stylesheet)
def verify_stylesheet(stylesheet) expect(stylesheet).to_not be_nil # Name expect(stylesheet.name).to be_a(String) expect(stylesheet.name).to_not be_empty # We do not want to force clients to always return non-empty files. # Stylesheet#initialize should crash when given a non-valid CSS (like nil, # for example) # expect(stylesheet.blocks).to_not be_empty end