Created
March 8, 2013 07:15
-
-
Save tatsuro-ueda/5114750 to your computer and use it in GitHub Desktop.
This file contains 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
# encoding: utf-8 | |
require 'spec_helper' | |
describe Post, "#title が設定されていない場合:" do | |
# pending "add some examples to (or delete) #{__FILE__}" | |
before(:each) do | |
@post = Post.new | |
end | |
it "バリデーションに失敗すること" do | |
@post.should_not be_valid | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment