Skip to content

Instantly share code, notes, and snippets.

@markng
Created March 24, 2015 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markng/3d4b9057f266e599bd49 to your computer and use it in GitHub Desktop.
Save markng/3d4b9057f266e599bd49 to your computer and use it in GitHub Desktop.
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