Sha256: d02fc688b516ced33aa35c04f05c17618c17ab0e9eacf630ef5d622545e05ec0

Contents?: true

Size: 319 Bytes

Versions: 4

Compression:

Stored size: 319 Bytes

Contents

shared_examples_for "untouched models" do

  describe "has disabled acts_as_api by default" do
    it "indicates that acts_as_api is disabled" do
      Untouched.acts_as_api?.should be_false
    end

    it "does not respond to api_accessible" do
      Untouched.should_not respond_to :api_accessible
    end
  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/untouched.rb
acts_as_api-0.4.2 spec/support/model_examples/untouched.rb
acts_as_api-0.4.1 spec/support/model_examples/untouched.rb
acts_as_api-0.4 spec/support/model_examples/untouched.rb