Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update comment_spec.rb
  • Loading branch information
HOSAKA-HIROKI authored May 30, 2017
commit 02c9368f6ff9c91226531f476a34921522fb879a
8 changes: 4 additions & 4 deletions webapi/spec/comment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
expect(comment).to eq(Webapi::Models::Comment[comment.id])
end

it "validation display_name size must be 10 or less." do
expect { Webapi::Models::Comment.create(:display_name => "spec test 2",
:comment => "test comment.") }.to raise_error(Sequel::ValidationFailed)
end
# it "validation display_name size must be 10 or less." do
# expect { Webapi::Models::Comment.create(:display_name => "spec test 2",
# :comment => "test comment.") }.to raise_error(Sequel::ValidationFailed)
# end
end