Guest User

Untitled

a guest
Feb 20th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. require File.dirname(__FILE__) + '/../spec_helper'
  2.  
  3. describe Page do
  4. before(:each) do
  5. @valid_attributes = {
  6. :title => 'Testing grab',
  7. :content => 'lorem ipsum whatever',
  8. :permalink => 'test'
  9. }
  10. end
  11.  
  12. it "should create a new instance given valid attributes" do
  13. Page.create!(@valid_attributes)
  14. end
  15. end
Add Comment
Please, Sign In to add comment