Skip to content

Instantly share code, notes, and snippets.

@eastmedia
Created July 17, 2009 21:01
Show Gist options
  • Save eastmedia/149276 to your computer and use it in GitHub Desktop.
Save eastmedia/149276 to your computer and use it in GitHub Desktop.
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