Sha256: 855dcb12ac7ac0cfbe466918ec61634be5e92e5e991873bf1c1b09c0d5266690
Contents?: true
Size: 383 Bytes
Versions: 4
Compression:
Stored size: 383 Bytes
Contents
require 'spec_helper' describe "Postbacks" do before do Post.delete_all end it "should receive postback" do p = Post.create(:image_url => 'http://google.com', :flagged => nil) post "houdini/post/#{p.id}/image_moderation/postbacks", :flagged => "yes" p.reload p.should be_flagged p.houdini_request_sent_at.to_date.should == Time.now.to_date end end
Version data entries
4 entries across 4 versions & 1 rubygems