diff --git a/webapi/config-webapi.ru b/webapi/config-webapi.ru index 43e3689..e933776 100644 --- a/webapi/config-webapi.ru +++ b/webapi/config-webapi.ru @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +#HELLO!! $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) @@ -32,4 +33,4 @@ map '/api' do map '/0.0.1' do run Webapi::Endpoints::V001::Webapi.new end -end \ No newline at end of file +end diff --git a/webapi/spec/comment_spec.rb b/webapi/spec/comment_spec.rb index 98107c9..277538c 100644 --- a/webapi/spec/comment_spec.rb +++ b/webapi/spec/comment_spec.rb @@ -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