package models.task;

import static org.fest.assertions.Assertions.assertThat;
import static play.test.Helpers.fakeApplication;
import static play.test.Helpers.running;

import org.codehaus.jackson.JsonNode;
import org.junit.Ignore;
import org.junit.Test;

public class LineTest {
	
	@Ignore
    public void toJson() throws Exception {
        running(fakeApplication(), new Runnable() {
            @Override
            public void run() {
                // Given
                Line line = Line.findById(1l);
                // When
                JsonNode json = line.toJSON();
                // Then
                assertThat(json.findValue("title").asText()).isEqualTo("Box");
                assertThat(json.findValue("cards").size()).isEqualTo(3);
            }
        });
    }
}

@@ -278,22 +278,20 @@
 t %7B%0A%09%0A%09@
-Ignore
+Test
 %0A    pub

rollback ignored test case