Sha256: 0acb0fe88b16a68b4727e2597320037769af1faa9412ea2fd84a6d4f1b207256
Contents?: true
Size: 388 Bytes
Versions: 60
Compression:
Stored size: 388 Bytes
Contents
require 'spec_helper' describe SocialStream::ActivityStreams do it "should find by type" do SocialStream::ActivityStreams.model(:person).should == User end it "should return Post as default model" do SocialStream::ActivityStreams.model!(:_test).should == Post end it "should find by model" do SocialStream::ActivityStreams.type(User).should == :person end end
Version data entries
60 entries across 60 versions & 2 rubygems