Created
July 17, 2009 21:01
-
-
Save eastmedia/149276 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
3 # Table name: causes | |
4 # | |
5 # id :integer(4) not null, primary key | |
6 # body :text | |
7 # name :string(255) | |
8 # slug :string(255) | |
9 # created_at :datetime | |
10 # updated_at :datetime | |
11 # | |
12 | |
13 require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
14 | |
15 describe Cause do | |
16 before(:each) do | |
17 @valid_attributes = { | |
18 ------ | |
19 } | |
20 end | |
21 | |
22 it "should create a new instance given valid attributes" do | |
23 Cause.create!(@valid_attributes) | |
24 end | |
25 end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment