Sha256: dba2588428a3b5d0ab59ddb3d673b266cbfba5a18d59b4ab15d7123fbf528680
Contents?: true
Size: 858 Bytes
Versions: 4
Compression:
Stored size: 858 Bytes
Contents
require 'spec_helper' describe Mongoid, :orm => "mongoid" do before(:each) do setup_mongoid_models end after(:each) do clean_up_mongoid_models end describe :act_as_api do it_supports "including an association in the api template" it_supports "calling a closure in the api template" it_supports "conditional if statements" it_supports "conditional unless statements" it_supports "acts_as_api is enabled" it_supports "extending a given api template" it_supports "calling a method in the api template" it_supports "renaming" it_supports "listing attributes in the api template" it_supports "creating a sub hash in the api template" it_supports "trying to render an api template that is not defined" it_supports "untouched models" it_supports "defining a model callback" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
acts_as_api-0.3.10 | spec/models/mongoid_spec.rb |
acts_as_api-0.3.9 | spec/models/mongoid_spec.rb |
acts_as_api-0.3.8 | spec/models/mongoid_spec.rb |
acts_as_api-0.3.7 | spec/models/mongoid_spec.rb |