Sha256: 2dd97ffef4c44542f009221d26d83c5d55b31a96d6ade3c49028d247fc83347b

Contents?: true

Size: 235 Bytes

Versions: 4

Compression:

Stored size: 235 Bytes

Contents

shared_examples_for "acts_as_api is enabled" 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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
acts_as_api_sequel-0.0.1 spec/support/model_examples/enabled.rb
acts_as_api-0.4.2 spec/support/model_examples/enabled.rb
acts_as_api-0.4.1 spec/support/model_examples/enabled.rb
acts_as_api-0.4 spec/support/model_examples/enabled.rb