Sha256: b7b7be1f707dd51cf44de070ef264991437d32eeedf2d59d53b488a30b526d09
Contents?: true
Size: 1010 Bytes
Versions: 5
Compression:
Stored size: 1010 Bytes
Contents
require 'spec_helper' describe Class, :orm => "vanilla" do before(:each) do setup_roflscale_models end after(:each) do clean_up_roflscale_models end describe :act_as_api do # deactivated as I won't implement a fake association model just for specs ;) # 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" # deactivated as acts_as_api won't get mixed into any class # it_supports "untouched models" it_supports "defining a model callback" end end
Version data entries
5 entries across 5 versions & 1 rubygems