Sha256: 5a29811f1d0f3c25d75d04287a1dc3efd3fa7bc0c3b36ffdd2f8f99507613c93
Contents?: true
Size: 355 Bytes
Versions: 3
Compression:
Stored size: 355 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper.rb' describe ActsAsApi::Base do describe "acts_as_api is enabled", :orm => :active_record do it "indicates that acts_as_api is enabled" do User.acts_as_api?.should be_true end it "does respond to api_accessible" do User.should respond_to :api_accessible end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acts_as_api-0.3.5 | spec/models/base/enabled_spec.rb |
acts_as_api-0.3.4 | spec/models/base/enabled_spec.rb |
acts_as_api-0.3.3 | spec/models/base/enabled_spec.rb |