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 == false end it "does not respond to api_accessible" do Untouched.should_not respond_to :api_accessible end end end