Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require File.dirname(__FILE__) + '/../spec_helper'
- describe Page do
- before(:each) do
- @valid_attributes = {
- :title => 'Testing grab',
- :content => 'lorem ipsum whatever',
- :permalink => 'test'
- }
- end
- it "should create a new instance given valid attributes" do
- Page.create!(@valid_attributes)
- end
- end
Add Comment
Please, Sign In to add comment