Skip to content

Commit

Permalink
init sprinkles in modelinfo test
Browse files Browse the repository at this point in the history
  • Loading branch information
emilsjolander committed Apr 22, 2014
1 parent 077d289 commit 16b83fc
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package se.emilsjolander.sprinkles;

import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;

Expand All @@ -12,6 +14,12 @@
@RunWith(RobolectricTestRunner.class)
public class ModelInfoTest {

@Before
public void initTables() {
Sprinkles.dropInstances();
Sprinkles.init(Robolectric.application);
}

@Test
public void columnFieldEquals() {
ColumnField f1 = new ColumnField();
Expand Down

0 comments on commit 16b83fc

Please sign in to comment.