Created
March 24, 2015 16:00
-
-
Save markng/3d4b9057f266e599bd49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.test import Client | |
from spec import Spec | |
from nose.tools import * | |
from spec.plugin import SkipTest | |
from wall.models import Wall, Card, Row, Column | |
from wall.factories import WallFactory, CardFactory, RowFactory, ColumnFactory | |
import json | |
class CardWallApplication(Spec): | |
def setup(self): | |
pass | |
def it_should_have_an_index(self): | |
client = Client() | |
response = client.get('/') | |
eq_(response.status_code, 200) | |
class Walls: | |
def it_should_have_walls(self): | |
ok_(Wall()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment