Package com.darrinholst.sass_java

Source Code of com.darrinholst.sass_java.GemsIT

package com.darrinholst.sass_java;

import org.jruby.embed.ScriptingContainer;
import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class GemsIT {
    @Test
    public void correctSassIsPackaged() {
        assertEquals("3.4.4", new ScriptingContainer().runScriptlet("require 'sass';Sass.version[:number]"));
    }

    @Test
    public void correctCompassIsPackaged() {
        assertEquals("1.0.1", new ScriptingContainer().runScriptlet("require 'compass';Compass::VERSION"));
    }
}
TOP

Related Classes of com.darrinholst.sass_java.GemsIT

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.