Sha256: c17e2f236bb7423be0cfd157f20390aa6106efc0392f9e2df92a4fdf9c8d04e8
Contents?: true
Size: 838 Bytes
Versions: 1
Compression:
Stored size: 838 Bytes
Contents
require 'spec_helper' describe ActiveRecord, :orm => "active_record" do before(:each) do setup_active_record_models end after(:each) do clean_up_active_record_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" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
acts_as_api-0.3.6 | spec/models/active_record_spec.rb |